diff options
author | ndossche <niels.dossche@ugent.be> | 2023-02-02 16:11:16 +0100 |
---|---|---|
committer | Todd Short <todd.short@me.com> | 2023-02-08 16:34:49 +0100 |
commit | abf654645dee168b229f3fa6a365f6a8e4dd7c31 (patch) | |
tree | 626b3c7a55d5a5e77be36d02d3f70f1ed142d9d3 /crypto/rsa | |
parent | CMS_decrypt_set1_*(): fix NULL deref on unsuitable content type (diff) | |
download | openssl-abf654645dee168b229f3fa6a365f6a8e4dd7c31.tar.xz openssl-abf654645dee168b229f3fa6a365f6a8e4dd7c31.zip |
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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/20195)
Diffstat (limited to 'crypto/rsa')
0 files changed, 0 insertions, 0 deletions