]> git.ipfire.org Git - thirdparty/strongswan.git/commit
openssl: Don't allocate salt if PRF/hash is unknown
authorTobias Brunner <tobias@strongswan.org>
Fri, 11 Jul 2025 09:42:47 +0000 (11:42 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 11 Jul 2025 09:47:51 +0000 (11:47 +0200)
commit43b805b2daed48bdf835ca8eeb87b9b71a42781f
tree720f3cca7375963edf7f5eaa33b9ad30db36e70e
parent2c32412594189c46b9911c585dd1a988a4b6b3c8
openssl: Don't allocate salt if PRF/hash is unknown

This can happen if e.g. AES-XCBC is selected.

Fixes: 2dbeecfc029b ("openssl: Fix testing KDF_PRF in the constructor with OpenSSL 3.5.1")
src/libstrongswan/plugins/openssl/openssl_kdf.c