summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-02-26 13:05:39 +0100
committerPauli <ppzgs1@gmail.com>2021-03-03 10:00:21 +1000
commitb3c155b83c984116ef1828664bbe77c66f53df6b (patch)
treec56c7406f91613e6c5c1aeadbcfc69df56960bdf /test
parentd36a5dd05ec58dec8a6175a25958f008166c421b (diff)
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)
Diffstat (limited to 'test')
-rw-r--r--test/evp_extra_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index 33a8af717b..62840d0d19 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -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;