Fix typo in -clrext option, but add a compatibility hack because
0.9.5a should not break anything that works in 0.9.5.
This commit is contained in:
parent
98e04f9eeb
commit
3bc90f2373
5
CHANGES
5
CHANGES
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
Changes between 0.9.5 and 0.9.5a [XX XXX 2000]
|
Changes between 0.9.5 and 0.9.5a [XX XXX 2000]
|
||||||
|
|
||||||
|
*) Rename openssl x509 option '-crlext', which was added in 0.9.5,
|
||||||
|
to '-clrext' (= clear extensions), as intended and documented.
|
||||||
|
[Bodo Moeller; inconsistency pointed out by Michael Attili
|
||||||
|
<attili@amaxo.com>]
|
||||||
|
|
||||||
*) Fix for HMAC. It wasn't zeroing the rest of the block if the key length
|
*) Fix for HMAC. It wasn't zeroing the rest of the block if the key length
|
||||||
was larger than the MD block size.
|
was larger than the MD block size.
|
||||||
[Steve Henson, pointed out by Yost William <YostW@tce.com>]
|
[Steve Henson, pointed out by Yost William <YostW@tce.com>]
|
||||||
|
11
apps/x509.c
11
apps/x509.c
@ -126,7 +126,7 @@ static char *x509_usage[]={
|
|||||||
" -md2/-md5/-sha1/-mdc2 - digest to use\n",
|
" -md2/-md5/-sha1/-mdc2 - digest to use\n",
|
||||||
" -extfile - configuration file with X509V3 extensions to add\n",
|
" -extfile - configuration file with X509V3 extensions to add\n",
|
||||||
" -extensions - section from config file with X509V3 extensions to add\n",
|
" -extensions - section from config file with X509V3 extensions to add\n",
|
||||||
" -crlext - delete extensions before signing and input certificate\n",
|
" -clrext - delete extensions before signing and input certificate\n",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -365,8 +365,15 @@ int MAIN(int argc, char **argv)
|
|||||||
aliasout= ++num;
|
aliasout= ++num;
|
||||||
else if (strcmp(*argv,"-CAcreateserial") == 0)
|
else if (strcmp(*argv,"-CAcreateserial") == 0)
|
||||||
CA_createserial= ++num;
|
CA_createserial= ++num;
|
||||||
else if (strcmp(*argv,"-crlext") == 0)
|
else if (strcmp(*argv,"-clrext") == 0)
|
||||||
clrext = 1;
|
clrext = 1;
|
||||||
|
#if 1 /* stay backwards-compatible with 0.9.5; this should go away soon */
|
||||||
|
else if (strcmp(*argv,"-crlext") == 0)
|
||||||
|
{
|
||||||
|
BIO_printf(bio_err,"use -clrext instead of -crlext\n");
|
||||||
|
clrext = 1;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else if ((md_alg=EVP_get_digestbyname(*argv + 1)))
|
else if ((md_alg=EVP_get_digestbyname(*argv + 1)))
|
||||||
{
|
{
|
||||||
/* ok */
|
/* ok */
|
||||||
|
Loading…
Reference in New Issue
Block a user