mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Coverity 1458438: fix uninitialised memory access.
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11101)
This commit is contained in:
parent
5472821ece
commit
4f94f74898
@ -393,9 +393,9 @@ static int ffc_params_fips186_2_gen_validate_test(void)
|
||||
FFC_PARAMS params;
|
||||
BIGNUM *bn = NULL;
|
||||
|
||||
ffc_params_init(¶ms);
|
||||
if (!TEST_ptr(bn = BN_new()))
|
||||
goto err;
|
||||
ffc_params_init(¶ms);
|
||||
if (!TEST_true(ffc_params_FIPS186_2_generate(NULL, ¶ms, FFC_PARAM_TYPE_DH,
|
||||
1024, 160, NULL, &res, NULL)))
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user