]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compile for OpenSSL 1.0.2 and before in server cleanup.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 Jun 2026 15:31:19 +0000 (17:31 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 Jun 2026 15:31:19 +0000 (17:31 +0200)
daemon/daemon.c
doc/Changelog

index 1f87d853e972f003dcbcd3033adadf14ffdb2275..78556c3c4fc9957cc5211c82a59c65f9c588ff99 100644 (file)
@@ -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
index 26c29b65a10979c3b5ec8de76f9dc410cd2293f9..5b905d1260858e66f2546436cd45604489c1d806 100644 (file)
@@ -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.