Skip to content

Commit

Permalink
don't rely on external trust store in option parser
Browse files Browse the repository at this point in the history
  • Loading branch information
pematous committed May 18, 2023
2 parents 8b12835 + 033ea9f commit 3fdf91c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/common/options/modern/ModernOptionsParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3fdf91c

Please sign in to comment.