You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2016/08/10 11:20:00 UTC
svn commit: r1755725 - /httpd/httpd/trunk/modules/ssl/mod_ssl.c
Author: rjung
Date: Wed Aug 10 11:20:00 2016
New Revision: 1755725
URL: http://svn.apache.org/viewvc?rev=1755725&view=rev
Log:
Remove calling ERR_remove_thread_state when
using OpenSSL 1.1.0.
This API is now a no-op in OpenSSL 1.1.0 and
deprecated.
Modified:
httpd/httpd/trunk/modules/ssl/mod_ssl.c
Modified: httpd/httpd/trunk/modules/ssl/mod_ssl.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/mod_ssl.c?rev=1755725&r1=1755724&r2=1755725&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/mod_ssl.c (original)
+++ httpd/httpd/trunk/modules/ssl/mod_ssl.c Wed Aug 10 11:20:00 2016
@@ -323,11 +323,13 @@ static apr_status_t ssl_cleanup_pre_conf
#if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
ENGINE_cleanup();
#endif
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER >= 0x1000000fL
ERR_remove_thread_state(NULL);
#else
ERR_remove_state(0);
#endif
+#endif
/* Don't call ERR_free_strings in earlier versions, ERR_load_*_strings only
* actually loaded the error strings once per process due to static