in mod_ssl on graceful restart. PR 53435.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1638772 13f79535-47bb-0310-9956-
ffa450edef68
ERR_remove_state(0);
#endif
- /* Don't call ERR_free_strings here; ERR_load_*_strings only
- * actually load the error strings once per process due to static
+ /* Don't call ERR_free_strings in earlier versions, ERR_load_*_strings only
+ * actually loaded the error strings once per process due to static
* variable abuse in OpenSSL. */
+#if (OPENSSL_VERSION_NUMBER >= 0x00090805f)
+ ERR_free_strings();
+#endif
/* Also don't call CRYPTO_cleanup_all_ex_data here; any registered
* ex_data indices may have been cached in static variables in