mallinath@webrtc.org
2013-09-28 07:24:39 +00:00
parent 30377c7f71
commit ad81ab8861

View File

@ -233,7 +233,10 @@ VerificationCallback OpenSSLAdapter::custom_verify_callback_ = NULL;
bool OpenSSLAdapter::InitializeSSL(VerificationCallback callback) {
if (!InitializeSSLThread() || !SSL_library_init())
return false;
#if !defined(ADDRESS_SANITIZER) || !defined(OSX)
// Loading the error strings crashed mac_asan. Omit this debugging aid there.
SSL_load_error_strings();
#endif
ERR_load_BIO_strings();
OpenSSL_add_all_algorithms();
RAND_poll();