Skip to content

Commit

Permalink
asan
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Greenway <ggreenway@apple.com>
  • Loading branch information
ggreenway committed Feb 14, 2024
1 parent 0849a2f commit e9fe675
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/common/quic/envoy_quic_proof_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ quiche::QuicheReferenceCountedPointer<quic::ProofSource::Chain>
EnvoyQuicProofSource::GetCertChain(const quic::QuicSocketAddress& server_address,
const quic::QuicSocketAddress& client_address,
const std::string& hostname, bool* cert_matched_sni) {
// Ensure this is set even in error paths.
*cert_matched_sni = false;

CertWithFilterChain res =
getTlsCertConfigAndFilterChain(server_address, client_address, hostname, cert_matched_sni);
return res.cert_;
Expand Down

0 comments on commit e9fe675

Please sign in to comment.