summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNiels Dossche <niels.dossche@ugent.be>2023-01-21 13:34:34 +0100
committerTomas Mraz <tomas@openssl.org>2023-01-23 10:40:26 +0100
commita2b01ae1c84ccc250d5d5cb5f2f8714573e3f11b (patch)
tree7d9a3ca73d72378052f1eb707b168197c5bcf398 /doc
parentAllow OSSL_SIGNATURE_PARAM_NONCE_TYPE to be retrieved (diff)
downloadopenssl-a2b01ae1c84ccc250d5d5cb5f2f8714573e3f11b.tar.xz
openssl-a2b01ae1c84ccc250d5d5cb5f2f8714573e3f11b.zip
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: #20100 CLA: trivial Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20106)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions