diff options
author | Bodo Möller <bodo@openssl.org> | 2000-03-27 18:10:08 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-03-27 18:10:08 +0000 |
commit | 3bc90f23737dcf0346b9925a59bcaba60f2bb32f (patch) | |
tree | b774e89e477991788dda2dd7a560f89d5d33c6ce /apps | |
parent | 98e04f9eeb6fcd673a9952fcfab90f38fdf8e7d6 (diff) |
Fix typo in -clrext option, but add a compatibility hack because
0.9.5a should not break anything that works in 0.9.5.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/x509.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index d5c0d0404e..2d6384184c 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -126,7 +126,7 @@ static char *x509_usage[]={ " -md2/-md5/-sha1/-mdc2 - digest to use\n", " -extfile - configuration 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 }; @@ -365,8 +365,15 @@ int MAIN(int argc, char **argv) aliasout= ++num; else if (strcmp(*argv,"-CAcreateserial") == 0) CA_createserial= ++num; + else if (strcmp(*argv,"-clrext") == 0) + 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))) { /* ok */ |