]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rework opensslecdsa_link to handle legacy key objects w/ openssl3
authorTimo Teräs <timo.teras@iki.fi>
Wed, 9 Aug 2023 13:39:08 +0000 (16:39 +0300)
committerTimo Teräs <timo.teras@iki.fi>
Fri, 25 Aug 2023 11:59:16 +0000 (14:59 +0300)
commit628dd278d3cfc1944feccdbeae8f100efa01036b
tree3aca69eae74bf1e5e14aca578497307bba3e1285
parentedd9925e44d99c2dc42a1e25c9d1b3be21945be4
Rework opensslecdsa_link to handle legacy key objects w/ openssl3

Due to bug in openssl3, the pkcs11-engine is made the default
provider if enabled. This causes key generation and load to
return legacy objects.

Openssl3 has limited glue and does not support the full set
of new style parameter to be inqueried from legacy key objects

Rewrite required functions to use first the new API (if available),
but fallback to the old API (if available). For the methods that
have proper OpenSSL compatiblity glue, ship only one version.
lib/dns/opensslecdsa_link.c