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

Unified Diff: net/quic/core/crypto/quic_crypto_server_config.cc

Issue 2246203003: Use the new error code QUIC_UNSUPPORTED_PROOF_DEMAND instead of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@130066892
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | net/quic/core/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/quic_crypto_server_config.cc
diff --git a/net/quic/core/crypto/quic_crypto_server_config.cc b/net/quic/core/crypto/quic_crypto_server_config.cc
index 8557271c2c762f0086c8eb096b07b2e85b9aab7b..0c3bc720033956b547f5f3a3cb7c7fa796d09926 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.cc
+++ b/net/quic/core/crypto/quic_crypto_server_config.cc
@@ -619,7 +619,7 @@ QuicErrorCode QuicCryptoServerConfig::ProcessClientHello(
if (!ClientDemandsX509Proof(client_hello) && FLAGS_quic_require_x509) {
*error_details = "Missing or invalid PDMD";
- return QUIC_INVALID_CRYPTO_MESSAGE_PARAMETER;
+ return QUIC_UNSUPPORTED_PROOF_DEMAND;
}
DCHECK(proof_source_.get());
string chlo_hash;
« no previous file with comments | « no previous file | net/quic/core/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698