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

Unified Diff: net/quic/quic_crypto_client_stream.cc

Issue 12381018: QUIC - Some sketching of the crypto handshake. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/quic_crypto_client_stream.h ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_client_stream.cc
===================================================================
--- net/quic/quic_crypto_client_stream.cc (revision 184750)
+++ net/quic/quic_crypto_client_stream.cc (working copy)
@@ -37,13 +37,12 @@
}
bool QuicCryptoClientStream::CryptoConnect() {
- crypto_config_.SetClientDefaults();
+ crypto_config_.SetDefaults();
CryptoUtils::GenerateNonce(session()->connection()->clock(),
session()->connection()->random_generator(),
&nonce_);
CryptoHandshakeMessage message;
- CryptoUtils::FillClientHelloMessage(crypto_config_, nonce_,
- server_hostname_, &message);
+ crypto_config_.FillClientHello(nonce_, server_hostname_, &message);
SendHandshakeMessage(message);
return true;
}
« no previous file with comments | « net/quic/quic_crypto_client_stream.h ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698