Make sure that the 'config' variable is correctly defined and declared
[openssl.git] / apps / req.c
index 79b1ded735f39d0401b8f12c7f1bf8a2536d6bbb..729cb2d5bd74f47bd9a1e8f69b4d6db93887b920 100644 (file)
@@ -383,7 +383,9 @@ int MAIN(int argc, char **argv)
                                }
                        else
 #endif
-                               pkey_type=TYPE_RSA;
+                               {
+                               goto bad;
+                               }
 
                        newreq=1;
                        }