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

Unified Diff: net/quic/core/crypto/aead_base_encrypter.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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/core/congestion_control/rtt_stats.cc ('k') | net/quic/core/crypto/crypto_secret_boxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/aead_base_encrypter.cc
diff --git a/net/quic/core/crypto/aead_base_encrypter.cc b/net/quic/core/crypto/aead_base_encrypter.cc
index 5620db920a23fac61182f698fb9cac4ff753797d..e87cdf834faff772e66512ae9a05eec63c249bb6 100644
--- a/net/quic/core/crypto/aead_base_encrypter.cc
+++ b/net/quic/core/crypto/aead_base_encrypter.cc
@@ -22,7 +22,7 @@ const size_t kMaxNonceSize = 12;
// In debug builds only, log OpenSSL error stack. Then clear OpenSSL error
// stack.
-void DLogOpenSslErrors() {
+void DLogOpenSslErrors2() {
#ifdef NDEBUG
while (ERR_get_error()) {
}
@@ -63,7 +63,7 @@ bool AeadBaseEncrypter::SetKey(QuicStringPiece key) {
if (!EVP_AEAD_CTX_init(ctx_.get(), aead_alg_, key_, key_size_, auth_tag_size_,
nullptr)) {
- DLogOpenSslErrors();
+ DLogOpenSslErrors2();
return false;
}
@@ -93,7 +93,7 @@ bool AeadBaseEncrypter::Encrypt(QuicStringPiece nonce,
reinterpret_cast<const uint8_t*>(plaintext.data()), plaintext.size(),
reinterpret_cast<const uint8_t*>(associated_data.data()),
associated_data.size())) {
- DLogOpenSslErrors();
+ DLogOpenSslErrors2();
return false;
}
« no previous file with comments | « net/quic/core/congestion_control/rtt_stats.cc ('k') | net/quic/core/crypto/crypto_secret_boxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698