From: Sebastian Andrzej Siewior Date: Tue, 16 Jun 2020 21:47:48 +0000 (+0200) Subject: APPS: Properly pass -no-CAstore X-Git-Tag: openssl-3.0.0-alpha4~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00493490ddd824932d2019de4a73175cb50d7b95;p=thirdparty%2Fopenssl.git APPS: Properly pass -no-CAstore Since its introduction the option no-CAstore maps to OPT_NOCAPATH and so behaves like -no-CApath. Map no-CAstore to OPT_NOCASTORE. Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Shane Lontis Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/12171) --- diff --git a/apps/ocsp.c b/apps/ocsp.c index 6095e6b2f61..4660a7fe5a5 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -117,7 +117,7 @@ const OPTIONS ocsp_options[] = { "Do not load the default certificates file"}, {"no-CApath", OPT_NOCAPATH, '-', "Do not load certificates from the default certificates directory"}, - {"no-CAstore", OPT_NOCAPATH, '-', + {"no-CAstore", OPT_NOCASTORE, '-', "Do not load certificates from the default certificates store"}, OPT_SECTION("Responder"), diff --git a/apps/verify.c b/apps/verify.c index e0eaaabe20f..eee81799bf9 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -60,7 +60,7 @@ const OPTIONS verify_options[] = { "Do not load the default trusted certificates file"}, {"no-CApath", OPT_NOCAPATH, '-', "Do not load trusted certificates from the default directory"}, - {"no-CAstore", OPT_NOCAPATH, '-', + {"no-CAstore", OPT_NOCASTORE, '-', "Do not load trusted certificates from the default certificates store"}, {"untrusted", OPT_UNTRUSTED, '<', "A file of untrusted certificates"}, {"CRLfile", OPT_CRLFILE, '<',