call SSL_library_init

This commit is contained in:
Stefan Reitshamer 2012-04-10 20:24:15 -04:00
parent ed2a86825e
commit e320a53a7f

View file

@ -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();