From fa108db27909fcb8a71ea33f56d75550f3690a94 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Wed, 9 Aug 2023 14:16:11 +0200 Subject: [PATCH] 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. --- 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 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) { -- 2.47.3