mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
evp_extra_test: Remove TODO comment as setting the curve is mandatory
Even with the SM2 algorithm the curve is needed for the paramgen. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14367)
This commit is contained in:
parent
d36a5dd05e
commit
b3c155b83c
@ -1319,7 +1319,6 @@ static int test_EVP_SM2(void)
|
|||||||
if (!TEST_true(EVP_PKEY_paramgen_init(pctx) == 1))
|
if (!TEST_true(EVP_PKEY_paramgen_init(pctx) == 1))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
/* TODO is this even needed? */
|
|
||||||
if (!TEST_true(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2)))
|
if (!TEST_true(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2)))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user