Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: net/quic/quic_crypto_client_stream.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_crypto_client_stream.cc
diff --git a/net/quic/quic_crypto_client_stream.cc b/net/quic/quic_crypto_client_stream.cc
index 3310f7329cc2c0f01f681eeebfcd0a231321b156..fec38b5c86126568643cfae031aa8f2738fef55a 100644
--- a/net/quic/quic_crypto_client_stream.cc
+++ b/net/quic/quic_crypto_client_stream.cc
@@ -439,7 +439,9 @@ void QuicCryptoClientStream::DoVerifyProofComplete(
if (!verify_ok_) {
next_state_ = STATE_NONE;
- client_session()->OnProofVerifyDetailsAvailable(*verify_details_);
+ if (verify_details_) {
+ client_session()->OnProofVerifyDetailsAvailable(*verify_details_);
+ }
UMA_HISTOGRAM_BOOLEAN("Net.QuicVerifyProofFailed.HandshakeConfirmed",
handshake_confirmed());
CloseConnectionWithDetails(

Powered by Google App Engine
This is Rietveld 408576698