summaryrefslogtreecommitdiff
path: root/openbsd-compat/openssl-compat.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-10-22 11:22:50 +1100
committerDamien Miller <djm@mindrot.org>2018-10-23 16:19:56 +1100
commitc0a35265907533be10ca151ac797f34ae0d68969 (patch)
tree703f2248c9185b3c951dccdff6dadb0a37512031 /openbsd-compat/openssl-compat.c
parent31b49525168245abe16ad49d7b7f519786b53a38 (diff)
fix compile for openssl 1.0.x w/ --with-ssl-engine
bz#2921, patch from cotequeiroz
Diffstat (limited to 'openbsd-compat/openssl-compat.c')
-rw-r--r--openbsd-compat/openssl-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c
index 8b4a3627..590b66d1 100644
--- a/openbsd-compat/openssl-compat.c
+++ b/openbsd-compat/openssl-compat.c
@@ -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 |