From a9e2c2d2c50812dc73de265ca46fffc2bef78cb9 Mon Sep 17 00:00:00 2001 From: Aristidis Papaioannou Date: Wed, 29 May 2024 22:23:43 -0700 Subject: [PATCH] Revert D57737100: Move default cert flag to a separate method Differential Revision: D57737100 Original commit changeset: 166163ddd721 Original Phabricator Diff: D57737100 fbshipit-source-id: 9d62da7f00ab36a3250a82366dc30b4467eacf5a --- mcrouter/lib/network/FizzContextProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcrouter/lib/network/FizzContextProvider.cpp b/mcrouter/lib/network/FizzContextProvider.cpp index 51e64dd76..d4334a63e 100644 --- a/mcrouter/lib/network/FizzContextProvider.cpp +++ b/mcrouter/lib/network/FizzContextProvider.cpp @@ -80,7 +80,7 @@ std::shared_ptr 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",