mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
call SSL_library_init
This commit is contained in:
parent
ed2a86825e
commit
e320a53a7f
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue