You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2018/06/05 06:06:06 UTC

svn commit: r1832911 - /tomcat/native/trunk/native/src/ssl.c

Author: jfclere
Date: Tue Jun  5 06:06:06 2018
New Revision: 1832911

URL: http://svn.apache.org/viewvc?rev=1832911&view=rev
Log:
Adjust the code like httpd one. Possible fix for PR#62122

Modified:
    tomcat/native/trunk/native/src/ssl.c

Modified: tomcat/native/trunk/native/src/ssl.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/ssl.c?rev=1832911&r1=1832910&r2=1832911&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/ssl.c (original)
+++ tomcat/native/trunk/native/src/ssl.c Tue Jun  5 06:06:06 2018
@@ -364,8 +364,10 @@ static apr_status_t ssl_init_cleanup(voi
     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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org