Browse Source

adjustments for openssl 1.1.0 pre-release

personal/stbuehler/mod-csrf-old
Glenn Strauss 6 years ago
parent
commit
1cd31ae2cc
  1. 3
      src/server.c

3
src/server.c

@ -389,7 +389,8 @@ static void server_free(server *srv) {
ERR_free_strings();
#if OPENSSL_VERSION_NUMBER >= 0x10100000L \
&& !defined(LIBRESSL_VERSION_NUMBER)
ERR_remove_thread_state();
/*(OpenSSL libraries handle thread init and deinit)
* https://github.com/openssl/openssl/pull/1048 */
#elif OPENSSL_VERSION_NUMBER >= 0x10000000L
ERR_remove_thread_state(NULL);
#else

Loading…
Cancel
Save