From e320a53a7f4d06b82c8a741f98fc0b350df41dac Mon Sep 17 00:00:00 2001 From: Stefan Reitshamer Date: Tue, 10 Apr 2012 20:24:15 -0400 Subject: [PATCH] call SSL_library_init --- crypto/OpenSSL.m | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/OpenSSL.m b/crypto/OpenSSL.m index f438d80..611061a 100644 --- a/crypto/OpenSSL.m +++ b/crypto/OpenSSL.m @@ -41,6 +41,7 @@ static SSL_CTX *ctx; @implementation OpenSSL + (BOOL)initializeSSL:(NSError **)error { if (!initialized) { + SSL_library_init(); OpenSSL_add_all_algorithms(); SSL_load_error_strings(); ERR_load_crypto_strings();