Index: net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc |
diff --git a/net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc b/net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc |
index 109d2dae85db41f26400728521c940a51998413b..e030bba5957defbec0030a0d73c5fa922ea4c967 100644 |
--- a/net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc |
+++ b/net/quic/crypto/aes_128_gcm_12_decrypter_openssl.cc |
@@ -18,9 +18,9 @@ const size_t kNoncePrefixSize = 4; |
Aes128Gcm12Decrypter::Aes128Gcm12Decrypter() |
: AeadBaseDecrypter(EVP_aead_aes_128_gcm(), kKeySize, kAuthTagSize, |
kNoncePrefixSize) { |
- COMPILE_ASSERT(kKeySize <= kMaxKeySize, key_size_too_big); |
- COMPILE_ASSERT(kNoncePrefixSize <= kMaxNoncePrefixSize, |
- nonce_prefix_size_too_big); |
+ static_assert(kKeySize <= kMaxKeySize, "key size too big"); |
+ static_assert(kNoncePrefixSize <= kMaxNoncePrefixSize, |
+ "nonce prefix size too big"); |
} |
Aes128Gcm12Decrypter::~Aes128Gcm12Decrypter() {} |