projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d36a5dd
)
evp_extra_test: Remove TODO comment as setting the curve is mandatory
author
Tomas Mraz
<tomas@openssl.org>
Fri, 26 Feb 2021 12:05:39 +0000
(13:05 +0100)
committer
Pauli
<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
patch
|
blob
|
history
diff --git
a/test/evp_extra_test.c
b/test/evp_extra_test.c
index 33a8af717b69bf5247500f29782ca5eed63b6b45..62840d0d19f9b9be62342f9f21a5b4c67aea9e8a 100644
(file)
--- 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;