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

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

Issue 2403193003: Landing Recent QUIC changes until 9:41 AM, Oct 10, 2016 UTC-7 (Closed)
Patch Set: git cl format Created 4 years, 2 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 | « net/quic/core/crypto/proof_source.h ('k') | net/quic/core/crypto/quic_server_info.cc » ('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 fbfc92cf27ae1b42b934fc91d9c410dce3e6fabb..f3172bfcd8d598a8e948e0203f035957d6970a51 100644
--- a/net/quic/core/crypto/quic_crypto_server_config.cc
+++ b/net/quic/core/crypto/quic_crypto_server_config.cc
@@ -541,13 +541,10 @@ void QuicCryptoServerConfig::ValidateClientHello(
}
if (result->error_code == QUIC_NO_ERROR) {
- if (version > QUIC_VERSION_30) {
- // QUIC v31 and above require a new proof for each CHLO so clear the
- // existing proof, if any.
- crypto_proof->chain = nullptr;
- crypto_proof->signature = "";
- crypto_proof->cert_sct = "";
- }
+ // QUIC requires a new proof for each CHLO so clear any existing proof.
+ crypto_proof->chain = nullptr;
+ crypto_proof->signature = "";
+ crypto_proof->cert_sct = "";
EvaluateClientHello(server_ip, version, primary_orbit, requested_config,
primary_config, crypto_proof, result,
std::move(done_cb));
« no previous file with comments | « net/quic/core/crypto/proof_source.h ('k') | net/quic/core/crypto/quic_server_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698