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.
This commit is contained in:
Matthijs Mekking
2023-08-09 23:48:17 +00:00
committed by Mark Andrews
parent 00a09e0d35
commit fa108db279
+1 -1
View 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) {