]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix an error check for EVP_PBE_CipherInit_ex()
authorTheo Buehler <tb@openbsd.org>
Wed, 1 Oct 2025 22:56:41 +0000 (00:56 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 Oct 2025 14:56:55 +0000 (16:56 +0200)
commitf0efd026f7d69da97ec8f3b05f05a322e98fb21f
treedadefe0491fc72cba2351d4da3e9ff7d4cfd94ff
parentdac3ed3e033f0bf4768ac5f300ca0636d3f8d09f
Fix an error check for EVP_PBE_CipherInit_ex()

As pointed out during the review for the recent security issue in this
file, this error check is incorrect: as documented, this function has
the usual Boolean return values.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28727)
crypto/cms/cms_pwri.c