mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-04-27 15:07:44 +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
|
@implementation OpenSSL
|
||||||
+ (BOOL)initializeSSL:(NSError **)error {
|
+ (BOOL)initializeSSL:(NSError **)error {
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
|
SSL_library_init();
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
ERR_load_crypto_strings();
|
ERR_load_crypto_strings();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue