Skip to content

Commit

Permalink
Revert D57737100: Move default cert flag to a separate method
Browse files Browse the repository at this point in the history
Differential Revision:
D57737100

Original commit changeset: 166163ddd721

Original Phabricator Diff: D57737100

fbshipit-source-id: 9d62da7f00ab36a3250a82366dc30b4467eacf5a
  • Loading branch information
Aristidis Papaioannou authored and facebook-github-bot committed May 30, 2024
1 parent e733e39 commit a9e2c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcrouter/lib/network/FizzContextProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ std::shared_ptr<fizz::server::FizzServerContext> createFizzServerContext(
auto selfCert =
fizz::openssl::CertUtils::makeSelfCert(certData.str(), keyData.str());
// add the default cert
certMgr->addCertAndSetDefault(std::move(selfCert));
certMgr->addCert(std::move(selfCert), true);
} catch (const std::exception& ex) {
LOG_FAILURE(
"SSLCert",
Expand Down

0 comments on commit a9e2c2d

Please sign in to comment.