From a337dbef2235d538391995f54a3335bd619cc0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 28 Jul 2023 13:21:09 +0300 Subject: [PATCH] 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. --- lib/dns/opensslecdsa_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/opensslecdsa_link.c b/lib/dns/opensslecdsa_link.c index 2f9e1c5155..f87b36dbe2 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) {