From: Tomas Mraz Date: Fri, 26 Feb 2021 12:05:39 +0000 (+0100) Subject: evp_extra_test: Remove TODO comment as setting the curve is mandatory X-Git-Tag: openssl-3.0.0-alpha13~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3c155b83c984116ef1828664bbe77c66f53df6b;p=thirdparty%2Fopenssl.git 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 (Merged from https://github.com/openssl/openssl/pull/14367) --- diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c index 33a8af717b6..62840d0d19f 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;