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

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

Issue 1082123003: Rename USE_NSS to USE_NSS_CERTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs
Patch Set: rebase Created 5 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/aes_128_gcm_12_encrypter_nss.cc ('k') | net/quic/crypto/chacha20_poly1305_encrypter_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/chacha20_poly1305_decrypter_nss.cc
diff --git a/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc b/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc
index b78db051098e794ef4580a61766402965ee44f85..c0b906b2e39316b314326bac985c1d05ac09e8fc 100644
--- a/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc
+++ b/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc
@@ -19,7 +19,7 @@ const size_t kNoncePrefixSize = 0;
} // namespace
-#if defined(USE_NSS)
+#if defined(USE_NSS_CERTS)
// System NSS doesn't support ChaCha20+Poly1305 yet.
@@ -44,7 +44,7 @@ void ChaCha20Poly1305Decrypter::FillAeadParams(
NOTIMPLEMENTED();
}
-#else // defined(USE_NSS)
+#else // defined(USE_NSS_CERTS)
ChaCha20Poly1305Decrypter::ChaCha20Poly1305Decrypter()
: AeadBaseDecrypter(CKM_NSS_CHACHA20_POLY1305, PK11_Decrypt, kKeySize,
@@ -77,6 +77,6 @@ void ChaCha20Poly1305Decrypter::FillAeadParams(
nss_aead_params->ulTagLen = auth_tag_size;
}
-#endif // defined(USE_NSS)
+#endif // defined(USE_NSS_CERTS)
} // namespace net
« no previous file with comments | « net/quic/crypto/aes_128_gcm_12_encrypter_nss.cc ('k') | net/quic/crypto/chacha20_poly1305_encrypter_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698