fix compile for openssl 1.0.x w/ --with-ssl-engine

bz#2921, patch from cotequeiroz
This commit is contained in:
Damien Miller 2018-10-22 11:22:50 +11:00
parent 31b4952516
commit c0a3526590
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ ssh_OpenSSL_add_all_algorithms(void)
ENGINE_load_builtin_engines();
ENGINE_register_all_complete();
#if OPENSSL_VERSION_NUMBER < 0x10001000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L
OPENSSL_config(NULL);
#else
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |