summaryrefslogtreecommitdiff
path: root/apps/genpkey.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-04-25 15:41:29 -0400
committerRich Salz <rsalz@openssl.org>2015-04-25 15:41:29 -0400
commit333b070ec06d7a67538ee9d5312656a19e802dc1 (patch)
treeaa630fe4f89d2333f82e2aeeba61f66e86e1349c /apps/genpkey.c
parentc54cc2b15d96944fcf13ccd24baca79f9593cbf0 (diff)
downloadopenssl-new-333b070ec06d7a67538ee9d5312656a19e802dc1.tar.gz
fewer NO_ENGINE #ifdef's
Make setup_engine be a dummy if NO_ENGINE is enabled. The option is not enabled if NO_ENGINE is enabled, so the one "wasted" variable just sits there. Removes some variables and code. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/genpkey.c')
-rw-r--r--apps/genpkey.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/genpkey.c b/apps/genpkey.c
index 5130b40a82..ae68e7a442 100644
--- a/apps/genpkey.c
+++ b/apps/genpkey.c
@@ -128,11 +128,9 @@ int genpkey_main(int argc, char **argv)
case OPT_PASS:
passarg = opt_arg();
break;
-#ifndef OPENSSL_NO_ENGINE
case OPT_ENGINE:
e = setup_engine(opt_arg(), 0);
break;
-#endif
case OPT_PARAMFILE:
if (do_param == 1)
goto opthelp;