提交 902c6b95 编写于 作者: A Adam Eijdenberg 提交者: Rich Salz

RT3961: Fix switch/case errors in flag parsing

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 119ab03a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册