]> git.ipfire.org Git - thirdparty/systemd.git/commit
crypto-util: support OpenSSL 4 42655/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Jun 2026 11:00:37 +0000 (12:00 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Jun 2026 12:58:52 +0000 (13:58 +0100)
commitccdd42351f79cbb9c2e034a96280a1ded40a2f95
tree9d2a85860fca3743611196b4435e4ccf6731f5ce
parent98943422b583d73dcdaaa1b56e86214862d3066e
crypto-util: support OpenSSL 4

OpenSSL 4 broke ABI, so we need to look for both SONAMEs.
Try libcrypto.so.3 first, and fallback to libcrypto.so.4,
so that the older and more stable version is used if both
are installed, giving distros time to fix regressions.
src/shared/crypto-util.c
src/shared/crypto-util.h