Index: net/quic/crypto/proof_verifier_chromium.cc |
diff --git a/net/quic/crypto/proof_verifier_chromium.cc b/net/quic/crypto/proof_verifier_chromium.cc |
index 096374a747255b451000cf3afccf034083a13368..965410db1137dc9f75595e5fcb782b9b78d2aeee 100644 |
--- a/net/quic/crypto/proof_verifier_chromium.cc |
+++ b/net/quic/crypto/proof_verifier_chromium.cc |
@@ -228,7 +228,8 @@ QuicAsyncStatus ProofVerifierChromium::Job::VerifyProof( |
// We call VerifySignature first to avoid copying of server_config and |
// signature. |
- if (!VerifySignature(server_config, quic_version, chlo_hash, signature, |
+ if (!signature.empty() && |
+ !VerifySignature(server_config, quic_version, chlo_hash, signature, |
certs[0])) { |
*error_details = "Failed to verify signature of server config"; |
DLOG(WARNING) << *error_details; |