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

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

Issue 1854273002: Remove the non-RFC 7539 variants of ChaCha20Poly1305 crypters in QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: net/quic/crypto/quic_crypto_server_config.cc
diff --git a/net/quic/crypto/quic_crypto_server_config.cc b/net/quic/crypto/quic_crypto_server_config.cc
index 68a56587e4fdb3839f47dd70ff90d57ef11f0fc0..66cb86e1268c347267d5d9c8c69cd913a27651e3 100644
--- a/net/quic/crypto/quic_crypto_server_config.cc
+++ b/net/quic/crypto/quic_crypto_server_config.cc
@@ -296,9 +296,7 @@ QuicServerConfigProtobuf* QuicCryptoServerConfig::GenerateConfig(
}
if (FLAGS_quic_crypto_server_config_default_has_chacha20) {
if (ChaCha20Poly1305Rfc7539Encrypter::IsSupported()) {
- msg.SetTaglist(kAEAD, kAESG, kCC12, kCC20, 0);
- } else {
- msg.SetTaglist(kAEAD, kAESG, kCC12, 0);
+ msg.SetTaglist(kAEAD, kAESG, kCC20, 0);
}
} else {
msg.SetTaglist(kAEAD, kAESG, 0);

Powered by Google App Engine
This is Rietveld 408576698