Restore previous behaviour of only running one algorithm when -evp alg is used.
[openssl.git] / apps / ca.c
index 4dc9176c8a01d2c59b3681a5fb62fb01723c82df..0a8d7b7417d115f7dfd98d3f25769b271c4dff4a 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -325,6 +325,7 @@ opthelp:
                 ret = 0;
                 goto end;
             case OPT_IN:
+                req = 1;
                 infile = opt_arg();
                 break;
             case OPT_OUT:
@@ -637,8 +638,10 @@ end_of_options:
             goto end;
         }
         default_op = 0;
-    } else
+    } else {
+        nameopt = XN_FLAG_ONELINE;
         ERR_clear_error();
+    }
 
     f = NCONF_get_string(conf, section, ENV_CERTOPT);