RT3961: Fix switch/case errors in flag parsing

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Adam Eijdenberg 2015-07-29 21:42:14 -04:00 committed by Rich Salz
parent 119ab03aea
commit 902c6b95a3
3 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;