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

Unified Diff: net/quic/p2p/quic_p2p_crypto_config.cc

Issue 1904213002: QUIC: support diversified keys with version 33. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hkdf
Patch Set: Rebase Created 4 years, 8 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/crypto/quic_decrypter.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/p2p/quic_p2p_crypto_config.cc
diff --git a/net/quic/p2p/quic_p2p_crypto_config.cc b/net/quic/p2p/quic_p2p_crypto_config.cc
index d30d3c86b39e757451d0382ff711cd731e854967..6f32056255e1f3ee5af81fac3ba7cba9cfc96acd 100644
--- a/net/quic/p2p/quic_p2p_crypto_config.cc
+++ b/net/quic/p2p/quic_p2p_crypto_config.cc
@@ -30,8 +30,8 @@ bool QuicP2PCryptoConfig::GetNegotiatedParameters(
if (!CryptoUtils::DeriveKeys(
out_params->forward_secure_premaster_secret, out_params->aead,
out_params->client_nonce, out_params->server_nonce, hkdf_input,
- perspective, &out_params->forward_secure_crypters,
- &out_params->subkey_secret)) {
+ perspective, CryptoUtils::Diversification::Never(),
+ &out_params->forward_secure_crypters, &out_params->subkey_secret)) {
return false;
}
« no previous file with comments | « net/quic/crypto/quic_decrypter.cc ('k') | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698