]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Revert a337dbef
authorMatthijs Mekking <matthijs@isc.org>
Wed, 9 Aug 2023 12:16:11 +0000 (14:16 +0200)
committerMark Andrews <marka@isc.org>
Wed, 9 Aug 2023 23:48:17 +0000 (23:48 +0000)
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.

lib/dns/opensslecdsa_link.c

index f133fe64e828ce1e4ca6ec73df68615f591a3fb1..d63ff1642ccc2e33e22597b8ed432b1c0f6fbf81 100644 (file)
@@ -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) {