openssl/crypto/ffc
Niels Dossche a2b01ae1c8 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)
2023-01-23 10:40:26 +01:00
..
build.info
ffc_backend.c
ffc_dh.c
ffc_key_generate.c
ffc_key_validate.c
ffc_params_generate.c Fix incorrect check on RAND_bytes_ex() in generate_q_fips186_4() 2023-01-23 10:40:26 +01:00
ffc_params_validate.c
ffc_params.c ossl_ffc_params_copy: Copy the keylength too 2022-07-18 08:06:17 +01:00