mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +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;
|
break;
|
||||||
case OPT_OUT:
|
case OPT_OUT:
|
||||||
outfile = opt_arg();
|
outfile = opt_arg();
|
||||||
|
break;
|
||||||
case OPT_ENGINE:
|
case OPT_ENGINE:
|
||||||
e = setup_engine(opt_arg(), 0);
|
e = setup_engine(opt_arg(), 0);
|
||||||
break;
|
break;
|
||||||
|
@ -200,6 +200,7 @@ int pkeyutl_main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case OPT_REV:
|
case OPT_REV:
|
||||||
rev = 1;
|
rev = 1;
|
||||||
|
break;
|
||||||
case OPT_ENCRYPT:
|
case OPT_ENCRYPT:
|
||||||
pkey_op = EVP_PKEY_OP_ENCRYPT;
|
pkey_op = EVP_PKEY_OP_ENCRYPT;
|
||||||
break;
|
break;
|
||||||
|
@ -344,7 +344,6 @@ int req_main(int argc, char **argv)
|
|||||||
case OPT_NO_ASN1_KLUDGE:
|
case OPT_NO_ASN1_KLUDGE:
|
||||||
kludge = 0;
|
kludge = 0;
|
||||||
break;
|
break;
|
||||||
multirdn = 1;
|
|
||||||
case OPT_DAYS:
|
case OPT_DAYS:
|
||||||
days = atoi(opt_arg());
|
days = atoi(opt_arg());
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user