| Index: net/quic/crypto/chacha20_poly1305_encrypter_nss.cc
|
| diff --git a/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc b/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc
|
| index 770088cb1deb374da0f525c896c66c9cffcf0577..2c51da83507999f89981bbbda6dd12e80bacfc2b 100644
|
| --- a/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc
|
| +++ b/net/quic/crypto/chacha20_poly1305_encrypter_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.
|
|
|
| @@ -43,7 +43,7 @@ void ChaCha20Poly1305Encrypter::FillAeadParams(StringPiece nonce,
|
| NOTIMPLEMENTED();
|
| }
|
|
|
| -#else // defined(USE_NSS)
|
| +#else // defined(USE_NSS_CERTS)
|
|
|
| ChaCha20Poly1305Encrypter::ChaCha20Poly1305Encrypter()
|
| : AeadBaseEncrypter(CKM_NSS_CHACHA20_POLY1305, PK11_Encrypt, kKeySize,
|
| @@ -75,6 +75,6 @@ void ChaCha20Poly1305Encrypter::FillAeadParams(StringPiece nonce,
|
| nss_aead_params->ulTagLen = auth_tag_size;
|
| }
|
|
|
| -#endif // defined(USE_NSS)
|
| +#endif // defined(USE_NSS_CERTS)
|
|
|
| } // namespace net
|
|
|