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

Unified Diff: net/quic/core/quic_crypto_server_stream.cc

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. Created 4 years, 1 month 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/quic_crypto_server_stream.h ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_server_stream.cc
diff --git a/net/quic/core/quic_crypto_server_stream.cc b/net/quic/core/quic_crypto_server_stream.cc
index 87f00962fb9dc89549241510127085e25f5405f8..8f02d7a1399c92531610475729eeb9bb9c711bf8 100644
--- a/net/quic/core/quic_crypto_server_stream.cc
+++ b/net/quic/core/quic_crypto_server_stream.cc
@@ -92,7 +92,7 @@ QuicCryptoServerStream::QuicCryptoServerStream(
: QuicCryptoServerStreamBase(session),
crypto_config_(crypto_config),
compressed_certs_cache_(compressed_certs_cache),
- crypto_proof_(new QuicCryptoProof),
+ signed_config_(new QuicSignedServerConfig),
validate_client_hello_cb_(nullptr),
helper_(helper),
num_handshake_messages_(0),
@@ -163,7 +163,7 @@ void QuicCryptoServerStream::OnHandshakeMessage(
crypto_config_->ValidateClientHello(
message, session()->connection()->peer_address().address(),
session()->connection()->self_address().address(), version(),
- session()->connection()->clock(), crypto_proof_, std::move(cb));
+ session()->connection()->clock(), signed_config_, std::move(cb));
}
void QuicCryptoServerStream::FinishProcessingHandshakeMessage(
@@ -255,9 +255,7 @@ void QuicCryptoServerStream::
session()->connection()->SetDecrypter(
ENCRYPTION_INITIAL,
crypto_negotiated_params_->initial_crypters.decrypter.release());
- if (version() > QUIC_VERSION_32) {
- session()->connection()->SetDiversificationNonce(*diversification_nonce);
- }
+ session()->connection()->SetDiversificationNonce(*diversification_nonce);
SendHandshakeMessage(*reply);
@@ -475,7 +473,7 @@ void QuicCryptoServerStream::ProcessClientHello(
version(), connection->supported_versions(),
use_stateless_rejects_in_crypto_config, server_designated_connection_id,
connection->clock(), connection->random_generator(),
- compressed_certs_cache_, crypto_negotiated_params_, crypto_proof_,
+ compressed_certs_cache_, crypto_negotiated_params_, signed_config_,
QuicCryptoStream::CryptoMessageFramingOverhead(version()),
chlo_packet_size_, std::move(done_cb));
}
« no previous file with comments | « net/quic/core/quic_crypto_server_stream.h ('k') | net/quic/core/quic_crypto_server_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698