Skip to content

Commit

Permalink
tls-openssl: added initialization for openssl 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Aug 8, 2018
1 parent 03878ed commit f4801af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/lib/crypto_openssl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,11 @@ int InitCrypto(void)
SSL_load_error_strings();

/* Initialize OpenSSL SSL library */
#if OPENSSL_VERSION_NUMBER < 0x10100000L
SSL_library_init();
#else
OPENSSL_init_ssl(0, NULL);
#endif

/* Register OpenSSL ciphers and digests */
OpenSSL_add_all_algorithms();
Expand Down

0 comments on commit f4801af

Please sign in to comment.