1 |
commit c0a35265907533be10ca151ac797f34ae0d68969 |
2 |
Author: Damien Miller <djm@mindrot.org> |
3 |
Date: Mon Oct 22 11:22:50 2018 +1100 |
4 |
|
5 |
fix compile for openssl 1.0.x w/ --with-ssl-engine |
6 |
|
7 |
bz#2921, patch from cotequeiroz |
8 |
|
9 |
--- openbsd-compat/openssl-compat.c.orig 2018-11-12 12:52:26 UTC |
10 |
+++ openbsd-compat/openssl-compat.c |
11 |
@@ -76,7 +76,7 @@ ssh_OpenSSL_add_all_algorithms(void) |
12 |
ENGINE_load_builtin_engines(); |
13 |
ENGINE_register_all_complete(); |
14 |
|
15 |
-#if OPENSSL_VERSION_NUMBER < 0x10001000L |
16 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L |
17 |
OPENSSL_config(NULL); |
18 |
#else |
19 |
OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | |