Let 'openssl req' fail if an argument to '-newkey' is not
recognized instead of using RSA as a default.
This commit is contained in:
@@ -383,7 +383,9 @@ int MAIN(int argc, char **argv)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
pkey_type=TYPE_RSA;
|
||||
{
|
||||
goto bad;
|
||||
}
|
||||
|
||||
newreq=1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user