]> git.ipfire.org Git - thirdparty/bind9.git/commit
start treating openssl 3.0 and 1.1 as separate libraries aydin/libcrypto-version-split
authorAydın Mercan <aydin@isc.org>
Tue, 12 Aug 2025 09:53:11 +0000 (12:53 +0300)
committerAydın Mercan <aydin@isc.org>
Mon, 25 Aug 2025 11:22:53 +0000 (14:22 +0300)
commita44cad9f04d6a8d54a0aadd6ff27777ab9e790e6
treeb9de8c8c87332c1068420d7712bf4e0d31a9f229
parent07a12bf6b66e9079eb17191141f79aa614bd71ac
start treating openssl 3.0 and 1.1 as separate libraries

OpenSSL 3.0 has completely revamed the way applications are supposed to
interact with libcrypto with the old way gaining a hefty perfomance
penalty.

Almost every cryptographic functionality will have a pre-3.0 and
post-3.0 counterpart split by the preprocessor after the migration is
complete.

Instead of having a macros mess everywhere, start the long term plan of
having a cryptographic functionality layer with OpenSSL >=3.0 and
OpenSSL <3.0 as two separate backends.

Start this process by splitting the initialization function.
.gitlab-ci.yml
lib/isc/crypto/meson.build [new file with mode: 0644]
lib/isc/crypto/ossl1.c [new file with mode: 0644]
lib/isc/crypto/ossl3.c [moved from lib/isc/crypto.c with 72% similarity]
lib/isc/meson.build
meson.build