]> git.feebdaed.xyz Git - 0xmirror/strongswan.git/commit
openssl: Fix testing KDF_PRF in the constructor with OpenSSL 3.5.1
authorTobias Brunner <tobias@strongswan.org>
Thu, 10 Jul 2025 16:11:19 +0000 (18:11 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Jul 2025 17:22:22 +0000 (19:22 +0200)
commit2dbeecfc029ba26647c756b0882bc6e85e2e6b64
treefc8a7287ee2fd9a08d4b62300023094ef76de25b
parenta8c2d125f1520acbd05d9de0773f7a1c92e2aeef
openssl: Fix testing KDF_PRF in the constructor with OpenSSL 3.5.1

Setting the salt to NULL now fails, so we set it to hash length's zeroes,
which is the default value for HKDF-Extract if no salt is passed.

Fixes strongswan/strongswan#2828
src/libstrongswan/plugins/openssl/openssl_kdf.c