From 00493490ddd824932d2019de4a73175cb50d7b95 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 16 Jun 2020 23:47:48 +0200 Subject: [PATCH] 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) --- apps/ocsp.c | 2 +- apps/verify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ocsp.c b/apps/ocsp.c index 6095e6b2f6..4660a7fe5a 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 e0eaaabe20..eee81799bf 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, '<', -- 2.25.1