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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1244413002: Add missing EnsureOpenSSLInit to QuicStreamFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove suppression Created 5 years, 5 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 | « build/sanitizers/tsan_suppressions.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 88fd50f98a966d1372010ca3788acee5ca2a9666..6ad16be7d2bd8be7e5a3f07d76b7bd6809bc46e0 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -47,6 +47,7 @@
#if defined(USE_OPENSSL)
#include <openssl/aead.h>
+#include "crypto/openssl_util.h"
#else
#include "base/cpu.h"
#endif
@@ -627,6 +628,7 @@ QuicStreamFactory::QuicStreamFactory(
new ChannelIDSourceChromium(channel_id_service));
}
#if defined(USE_OPENSSL)
+ crypto::EnsureOpenSSLInit();
bool has_aes_hardware_support = !!EVP_has_aes_hardware();
#else
base::CPU cpu;
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698