Fix no-engine
authorMatt Caswell <matt@openssl.org>
Tue, 12 Nov 2019 15:26:15 +0000 (15:26 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 14 Nov 2019 09:59:01 +0000 (09:59 +0000)
Fix a misplaced "#endif" which was disabling a little too much code.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10423)

apps/req.c

index 3667ac7bce3f579546b1af95b58bfac37d04e8d3..b084f108bdcea6769e71a798005b2473ff06c76f 100644 (file)
@@ -101,10 +101,10 @@ const OPTIONS req_options[] = {
     {"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"},
     {"keygen_engine", OPT_KEYGEN_ENGINE, 's',
      "Specify engine to be used for key generation operations"},
+#endif
     {"in", OPT_IN, '<', "Input file"},
     {"inform", OPT_INFORM, 'F', "Input format - DER or PEM"},
     {"verify", OPT_VERIFY, '-', "Verify signature on REQ"},
-#endif
 
     OPT_SECTION("Certificate"),
     {"new", OPT_NEW, '-', "New request"},