Skip a curve with generator of non-prime order.
Submitted by: Nils Larsch
This commit is contained in:
parent
ce38bb1a8c
commit
a9f2330f43
@ -331,6 +331,8 @@ int test_builtin(BIO *out)
|
|||||||
unsigned char dirt, offset;
|
unsigned char dirt, offset;
|
||||||
|
|
||||||
nid = curves[n].nid;
|
nid = curves[n].nid;
|
||||||
|
if (nid == NID_ipsec4)
|
||||||
|
continue;
|
||||||
/* create new ecdsa key (== EC_KEY) */
|
/* create new ecdsa key (== EC_KEY) */
|
||||||
if ((eckey = EC_KEY_new()) == NULL)
|
if ((eckey = EC_KEY_new()) == NULL)
|
||||||
goto builtin_err;
|
goto builtin_err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user