提交 4f94f748 编写于 作者: P Pauli

Coverity 1458438: fix uninitialised memory access.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11101)
上级 5472821e
......@@ -393,9 +393,9 @@ static int ffc_params_fips186_2_gen_validate_test(void)
FFC_PARAMS params;
BIGNUM *bn = NULL;
ffc_params_init(&params);
if (!TEST_ptr(bn = BN_new()))
goto err;
ffc_params_init(&params);
if (!TEST_true(ffc_params_FIPS186_2_generate(NULL, &params, FFC_PARAM_TYPE_DH,
1024, 160, NULL, &res, NULL)))
goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册