diff options
author | Damien Miller <djm@mindrot.org> | 2018-10-22 11:22:50 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-10-23 16:19:56 +1100 |
commit | c0a35265907533be10ca151ac797f34ae0d68969 (patch) | |
tree | 703f2248c9185b3c951dccdff6dadb0a37512031 | |
parent | 31b49525168245abe16ad49d7b7f519786b53a38 (diff) |
fix compile for openssl 1.0.x w/ --with-ssl-engine
bz#2921, patch from cotequeiroz
-rw-r--r-- | openbsd-compat/openssl-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index 8b4a36274..590b66d16 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c | |||
@@ -76,7 +76,7 @@ ssh_OpenSSL_add_all_algorithms(void) | |||
76 | ENGINE_load_builtin_engines(); | 76 | ENGINE_load_builtin_engines(); |
77 | ENGINE_register_all_complete(); | 77 | ENGINE_register_all_complete(); |
78 | 78 | ||
79 | #if OPENSSL_VERSION_NUMBER < 0x10001000L | 79 | #if OPENSSL_VERSION_NUMBER < 0x10100000L |
80 | OPENSSL_config(NULL); | 80 | OPENSSL_config(NULL); |
81 | #else | 81 | #else |
82 | OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | | 82 | OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | |