Let 'openssl req' fail if an argument to '-newkey' is not

recognized instead of using RSA as a default.
This commit is contained in:
Bodo Möller 2002-09-10 07:34:45 +00:00
parent 48921e00fc
commit 9226e2187c
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,10 @@
Changes between 0.9.7 and 0.9.8 [xx XXX 2002]
*) Let 'openssl req' fail if an argument to '-newkey' is not
recognized instead of using RSA as a default.
[Bodo Moeller]
*) Add support for ECC-based ciphersuites from draft-ietf-tls-ecc-01.txt.
As these are not official, they are not included in "ALL";
the "ECCdraft" ciphersuite group alias can be used to select them.

View File

@ -383,7 +383,9 @@ int MAIN(int argc, char **argv)
}
else
#endif
pkey_type=TYPE_RSA;
{
goto bad;
}
newreq=1;
}