fix compile for openssl 1.0.x w/ --with-ssl-engine
bz#2921, patch from cotequeiroz
This commit is contained in:
parent
31b4952516
commit
c0a3526590
|
@ -76,7 +76,7 @@ ssh_OpenSSL_add_all_algorithms(void)
|
||||||
ENGINE_load_builtin_engines();
|
ENGINE_load_builtin_engines();
|
||||||
ENGINE_register_all_complete();
|
ENGINE_register_all_complete();
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10001000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
OPENSSL_config(NULL);
|
OPENSSL_config(NULL);
|
||||||
#else
|
#else
|
||||||
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
|
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS |
|
||||||
|
|
Loading…
Reference in New Issue