evp_extra_test: Remove TODO comment as setting the curve is mandatory
authorTomas Mraz <tomas@openssl.org>
Fri, 26 Feb 2021 12:05:39 +0000 (13:05 +0100)
committerPauli <ppzgs1@gmail.com>
Wed, 3 Mar 2021 00:00:21 +0000 (10:00 +1000)
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)

test/evp_extra_test.c

index 33a8af717b69bf5247500f29782ca5eed63b6b45..62840d0d19f9b9be62342f9f21a5b4c67aea9e8a 100644 (file)
@@ -1319,7 +1319,6 @@ static int test_EVP_SM2(void)
     if (!TEST_true(EVP_PKEY_paramgen_init(pctx) == 1))
         goto done;
 
-    /* TODO is this even needed? */
     if (!TEST_true(EVP_PKEY_CTX_set_ec_paramgen_curve_nid(pctx, NID_sm2)))
         goto done;