From: Matthijs Mekking Date: Wed, 9 Aug 2023 12:16:11 +0000 (+0200) Subject: Revert a337dbef X-Git-Tag: v9.19.17~58^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=fa108db27909fcb8a71ea33f56d75550f3690a94;p=thirdparty%2Fbind9.git Revert a337dbef Revert commit that always uses OpenSSL 3.0 API when available, the new APIs should work always, but OpenSSL has non-obvious omissions in the automatic mappings it provides. --- diff --git a/lib/dns/opensslecdsa_link.c b/lib/dns/opensslecdsa_link.c index f133fe64e82..d63ff1642cc 100644 --- a/lib/dns/opensslecdsa_link.c +++ b/lib/dns/opensslecdsa_link.c @@ -119,7 +119,7 @@ BN_bn2bin_fixed(const BIGNUM *bn, unsigned char *buf, int size) { return (size); } -#if OPENSSL_VERSION_NUMBER >= 0x30000000L +#if OPENSSL_VERSION_NUMBER >= 0x30000000L && OPENSSL_API_LEVEL >= 30000 static const char * opensslecdsa_key_alg_to_group_name(unsigned int key_alg) {