Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect check on RAND_bytes_ex() in generate_q_fips186_4()
RAND_bytes_ex() can also return 0 on failure. Other callers do check this correctly. Change the check from <0 to <=0. Fixes: openssl#20100 CLA: trivial Reviewed-by: Matthias St. Pierre <[email protected]> Reviewed-by: Dmitry Belyavskiy <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#20106)
- Loading branch information