Index: net/quic/crypto/aead_base_decrypter_openssl.cc |
diff --git a/net/quic/crypto/aead_base_decrypter_openssl.cc b/net/quic/crypto/aead_base_decrypter_openssl.cc |
index fad0fe1b5204608b02cd8a2a0efc3babd5f2ba8e..62a6fb82f27ad5cf566c545e95875a04841ed4e8 100644 |
--- a/net/quic/crypto/aead_base_decrypter_openssl.cc |
+++ b/net/quic/crypto/aead_base_decrypter_openssl.cc |
@@ -59,7 +59,7 @@ bool AeadBaseDecrypter::SetKey(StringPiece key) { |
EVP_AEAD_CTX_cleanup(ctx_.get()); |
if (!EVP_AEAD_CTX_init(ctx_.get(), aead_alg_, key_, key_size_, |
- auth_tag_size_, NULL)) { |
+ auth_tag_size_, nullptr)) { |
DLogOpenSslErrors(); |
return false; |
} |
@@ -106,7 +106,7 @@ QuicData* AeadBaseDecrypter::DecryptPacket( |
StringPiece associated_data, |
StringPiece ciphertext) { |
if (ciphertext.length() < auth_tag_size_) { |
- return NULL; |
+ return nullptr; |
} |
size_t plaintext_size = ciphertext.length(); |
scoped_ptr<char[]> plaintext(new char[plaintext_size]); |
@@ -120,7 +120,7 @@ QuicData* AeadBaseDecrypter::DecryptPacket( |
associated_data, ciphertext, |
reinterpret_cast<uint8*>(plaintext.get()), |
&plaintext_size)) { |
- return NULL; |
+ return nullptr; |
} |
return new QuicData(plaintext.release(), plaintext_size, true); |
} |