mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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;
|
||||
|
||||
nid = curves[n].nid;
|
||||
if (nid == NID_ipsec4)
|
||||
continue;
|
||||
/* create new ecdsa key (== EC_KEY) */
|
||||
if ((eckey = EC_KEY_new()) == NULL)
|
||||
goto builtin_err;
|
||||
|
Loading…
Reference in New Issue
Block a user