From: Timo Teräs Date: Fri, 28 Jul 2023 10:21:09 +0000 (+0300) Subject: Always use OpenSSL 3.0 API when available X-Git-Tag: v9.19.17~62^2~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a337dbef;p=thirdparty%2Fbind9.git Always use OpenSSL 3.0 API when available The new APIs work always as OpenSSL provides glue to access also old style engines using the new APIs. --- diff --git a/lib/dns/opensslecdsa_link.c b/lib/dns/opensslecdsa_link.c index 2f9e1c51557..f87b36dbe2a 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 && OPENSSL_API_LEVEL >= 30000 +#if OPENSSL_VERSION_NUMBER >= 0x30000000L static const char * opensslecdsa_key_alg_to_group_name(unsigned int key_alg) {