mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
RT3961: Fix switch/case errors in flag parsing
Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
119ab03aea
commit
902c6b95a3
@ -141,6 +141,7 @@ int genrsa_main(int argc, char **argv)
|
||||
break;
|
||||
case OPT_OUT:
|
||||
outfile = opt_arg();
|
||||
break;
|
||||
case OPT_ENGINE:
|
||||
e = setup_engine(opt_arg(), 0);
|
||||
break;
|
||||
|
@ -200,6 +200,7 @@ int pkeyutl_main(int argc, char **argv)
|
||||
break;
|
||||
case OPT_REV:
|
||||
rev = 1;
|
||||
break;
|
||||
case OPT_ENCRYPT:
|
||||
pkey_op = EVP_PKEY_OP_ENCRYPT;
|
||||
break;
|
||||
|
@ -344,7 +344,6 @@ int req_main(int argc, char **argv)
|
||||
case OPT_NO_ASN1_KLUDGE:
|
||||
kludge = 0;
|
||||
break;
|
||||
multirdn = 1;
|
||||
case OPT_DAYS:
|
||||
days = atoi(opt_arg());
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user