The ssl_util_thread_*() functions are not necessary with openssl-1.1+
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1781190 13f79535-47bb-0310-9956-
ffa450edef68
/* Some OpenSSL internals are allocated per-thread, make sure they
* are associated to the/our same thread-id until cleaned up.
*/
+#if APR_HAS_THREADS && OPENSSL_VERSION_NUMBER < 0x10100000L
ssl_util_thread_id_setup(pconf);
+#endif
/* We must register the library in full, to ensure our configuration
* code can successfully test the SSL environment.
#endif
}
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
-#if APR_HAS_THREADS
+#if APR_HAS_THREADS && OPENSSL_VERSION_NUMBER < 0x10100000L
ssl_util_thread_setup(p);
#endif
-#endif /* #if OPENSSL_VERSION_NUMBER < 0x10100000L */
/*
* SSL external crypto device ("engine") support