This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git

commit 0693071c0138dbabdb173f5ba960d3614d87c46b
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Dec 10 13:39:44 2020 +0000

    Remove unnecessary code. Minimum OpenSSL version is 1.0.2
---
 native/src/ssl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/native/src/ssl.c b/native/src/ssl.c
index 985b61a..da5f026 100644
--- a/native/src/ssl.c
+++ b/native/src/ssl.c
@@ -385,11 +385,9 @@ static apr_status_t ssl_init_cleanup(void *data)
 #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
     ENGINE_cleanup();
 #endif
-#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
 #ifndef OPENSSL_NO_COMP
     SSL_COMP_free_compression_methods();
 #endif
-#endif
     CRYPTO_cleanup_all_ex_data();
 #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
     ERR_remove_thread_state(NULL);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to