2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

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.
This commit is contained in:
Timo Teräs 2023-07-28 13:21:09 +03:00
parent 8de089e514
commit a337dbef22

View 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) {