From 033ea9fd4d6e5799d746ec9796e955d48b0d9cb1 Mon Sep 17 00:00:00 2001 From: Petr Matousek Date: Wed, 17 May 2023 17:01:22 +0200 Subject: [PATCH] don't rely on external trust store in option parser use system trust store by default (see 9cd680e5) --- src/common/options/modern/ModernOptionsParser.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/common/options/modern/ModernOptionsParser.cpp b/src/common/options/modern/ModernOptionsParser.cpp index 1010a64..8a95a01 100644 --- a/src/common/options/modern/ModernOptionsParser.cpp +++ b/src/common/options/modern/ModernOptionsParser.cpp @@ -233,13 +233,6 @@ void ModernOptionsParser::validate(const Values &options) const } /* SSL */ - if ((options.is_set("conn-ssl-verify-peer-name") || options.is_set("con-ssl-verify-peer")) && options.is_set("conn-ssl-trust-store") == false) { - print_help(); - std::stringstream sstm; - sstm << "SSL trust store (--conn-ssl-trust-store) must be given"; - error(sstm.str()); - } - if (options.is_set("conn-ssl-certificate") && options.is_set("conn-ssl-private-key") == false) { print_help(); std::stringstream sstm;