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; |