]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Always use OpenSSL 3.0 API when available
authorTimo Teräs <timo.teras@iki.fi>
Fri, 28 Jul 2023 10:21:09 +0000 (13:21 +0300)
committerTimo Teräs <timo.teras@iki.fi>
Tue, 8 Aug 2023 14:08:00 +0000 (14:08 +0000)
The new APIs work always as OpenSSL provides glue to access also
old style engines using the new APIs.

lib/dns/opensslecdsa_link.c

index 2f9e1c515579131a00ca764a121db686ec572f81..f87b36dbe2acf9df9437add0e736f9e478347421 100644 (file)
@@ -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) {