Skip to content

Commit 3fdf91c

Browse files
authored
don't rely on external trust store in option parser
2 parents 8b12835 + 033ea9f commit 3fdf91c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/common/options/modern/ModernOptionsParser.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,6 @@ void ModernOptionsParser::validate(const Values &options) const
233233
}
234234

235235
/* SSL */
236-
if ((options.is_set("conn-ssl-verify-peer-name") || options.is_set("con-ssl-verify-peer")) && options.is_set("conn-ssl-trust-store") == false) {
237-
print_help();
238-
std::stringstream sstm;
239-
sstm << "SSL trust store (--conn-ssl-trust-store) must be given";
240-
error(sstm.str());
241-
}
242-
243236
if (options.is_set("conn-ssl-certificate") && options.is_set("conn-ssl-private-key") == false) {
244237
print_help();
245238
std::stringstream sstm;

0 commit comments

Comments
 (0)