Skip a curve with generator of non-prime order.

Submitted by: Nils Larsch
This commit is contained in:
Ulf Möller 2003-12-06 11:41:22 +00:00
parent ce38bb1a8c
commit a9f2330f43

View File

@ -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;