Line 0
Link Here
|
|
|
1 |
--- src/posttls-finger/posttls-finger.c.orig 2016-08-27 20:27:50 UTC |
2 |
+++ src/posttls-finger/posttls-finger.c |
3 |
@@ -1511,7 +1511,8 @@ static int finger(STATE *state) |
4 |
return (0); |
5 |
} |
6 |
|
7 |
-#if defined(USE_TLS) && OPENSSL_VERSION_NUMBER < 0x10100000L |
8 |
+#if defined(USE_TLS) && \ |
9 |
+ ( OPENSSL_VERSION_NUMBER < 0x10100000L || OPENSSL_VERSION_NUMBER == 0x20000000L ) |
10 |
|
11 |
/* ssl_cleanup - free memory allocated in the OpenSSL library */ |
12 |
|
13 |
@@ -1958,7 +1959,8 @@ int main(int argc, char *argv[]) |
14 |
cleanup(&state); |
15 |
|
16 |
/* OpenSSL 1.1.0 and later (de)initialization is implicit */ |
17 |
-#if defined(USE_TLS) && OPENSSL_VERSION_NUMBER < 0x10100000L |
18 |
+#if defined(USE_TLS) && \ |
19 |
+ ( OPENSSL_VERSION_NUMBER < 0x10100000L || OPENSSL_VERSION_NUMBER == 0x20000000L ) |
20 |
ssl_cleanup(); |
21 |
#endif |
22 |
|