From: Ulf Möller Date: Sat, 6 Dec 2003 11:41:22 +0000 (+0000) Subject: Skip a curve with generator of non-prime order. X-Git-Tag: BEN_FIPS_TEST_5~13^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f2330f432809cafcfa65e4265f5219436f08e4;p=thirdparty%2Fopenssl.git Skip a curve with generator of non-prime order. Submitted by: Nils Larsch --- diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index 59f664f5072..d58e9a63f05 100644 --- a/crypto/ecdsa/ecdsatest.c +++ b/crypto/ecdsa/ecdsatest.c @@ -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;