Skip to content

Commit

Permalink
Move default cert flag to a separate method
Browse files Browse the repository at this point in the history
Summary: Reintroduction of D57737100 with fix for Thrift build

Differential Revision: D57970247

fbshipit-source-id: 55815037522533aadf01f04813a4edb6b050a30b
  • Loading branch information
Gabriel Schell authored and facebook-github-bot committed May 30, 2024
1 parent 8b3b54e commit 3133980
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->addCert(std::move(selfCert), true);
certMgr->addCertAndSetDefault(std::move(selfCert));
} catch (const std::exception& ex) {
LOG_FAILURE(
"SSLCert",
Expand Down

0 comments on commit 3133980

Please sign in to comment.