Commit a9f2330f authored by Ulf Möller's avatar Ulf Möller
Browse files

Skip a curve with generator of non-prime order.

Submitted by: Nils Larsch
parent ce38bb1a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;