]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use autoconf check for BN_GENCB_new()
authorAram Sargsyan <aram@isc.org>
Fri, 25 Feb 2022 09:00:52 +0000 (09:00 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 2 Mar 2022 09:34:29 +0000 (09:34 +0000)
commit73e660a8061533ebfd08c365874a5dc0c5b47eaa
tree29e64cfd143223eecfb2e1139887eb0e82406d32
parent2325ed66c586974d9d82c26b83e2f3959b6dfe17
Use autoconf check for BN_GENCB_new()

BIND unconditionally uses shims for BN_GENCB_new(), BN_GENCB_free(),
and BN_GENCB_get_arg() for all LibreSSL versions and, correctly, for
OpenSSL <1.1.0 versions.

This breaks LibreSSL compilation starting with LibreSSL 3.5.0.

Use autoconf check instead to check whether the family of the functions
are available.

(cherry picked from commit 749973f3259b7638a6af02b7da2f40ae28bdd402)
config.h.in
config.h.win32
configure
configure.ac
lib/dns/dst_openssl.h
lib/dns/openssldh_link.c
lib/dns/opensslrsa_link.c