From: W.C.A. Wijngaards Date: Thu, 11 Jun 2026 15:31:19 +0000 (+0200) Subject: - Fix compile for OpenSSL 1.0.2 and before in server cleanup. X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=e2dac8a00aa919cf9680cf55f79a056ba96b651d;p=thirdparty%2Funbound.git - Fix compile for OpenSSL 1.0.2 and before in server cleanup. --- diff --git a/daemon/daemon.c b/daemon/daemon.c index 1f87d853e..78556c3c4 100644 --- a/daemon/daemon.c +++ b/daemon/daemon.c @@ -1273,7 +1273,7 @@ daemon_delete(struct daemon* daemon) # if HAVE_DECL_SSL_COMP_GET_COMPRESSION_METHODS && HAVE_DECL_SK_SSL_COMP_POP_FREE # ifndef S_SPLINT_S # if OPENSSL_VERSION_NUMBER < 0x10100000 - sk_SSL_COMP_pop_free(comp_meth, (void(*)())CRYPTO_free); + sk_SSL_COMP_pop_free(comp_meth, (void(*)(SSL_COMP*))CRYPTO_free); # endif # endif # endif diff --git a/doc/Changelog b/doc/Changelog index 26c29b65a..5b905d126 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -5,6 +5,7 @@ - Fix for #1306: configure checks if the ngtcp2_crypto_ossl header file is available, and prints an error otherwise. - Fix #1437: Fix compile with OpenSSL 4.0.1. + - Fix compile for OpenSSL 1.0.2 and before in server cleanup. 10 June 2026: Wouter - Fix pythonmod script read for numeric overflow.