]> git.ipfire.org Git - thirdparty/strongswan.git/commit
pkcs12: Treat empty string and no password differently
authorTobias Brunner <tobias@strongswan.org>
Wed, 18 Oct 2023 15:11:51 +0000 (17:11 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2023 11:26:07 +0000 (12:26 +0100)
commitad804fa036a534fe315dd33563d9bba514bf9907
tree584b45c3767a66b3d26404b4c93d499ac04fb931
parent7bb6aed5abd004af5cb98f35756a71cc065fe559
pkcs12: Treat empty string and no password differently

When deriving the PKCS#12 key, the empty string should result in a
non-zero length Unicode string (two bytes for the 0 terminator).
src/libstrongswan/credentials/containers/pkcs12.c