[openssl/openssl] abf654: Fix incomplete error check on BIO_set_md()
Niels Dossche
noreply at github.com
Wed Feb 8 15:38:22 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: abf654645dee168b229f3fa6a365f6a8e4dd7c31
https://github.com/openssl/openssl/commit/abf654645dee168b229f3fa6a365f6a8e4dd7c31
Author: ndossche <niels.dossche at ugent.be>
Date: 2023-02-08 (Wed, 08 Feb 2023)
Changed paths:
M crypto/cms/cms_lib.c
Log Message:
-----------
Fix incomplete error check on BIO_set_md()
BIO_set_md() can return an error value <= 0 according to my analysis
tool and the documentation. But only an error value == 0 is currently
checked. Fix it by changing the check condition.
CLA: trivial
Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/20195)
More information about the openssl-commits
mailing list