Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #20195) (cherry picked from commit abf6546)
- Loading branch information