Skip a curve with generator of non-prime order.
authorUlf Möller <ulf@openssl.org>
Sat, 6 Dec 2003 11:41:22 +0000 (11:41 +0000)
committerUlf Möller <ulf@openssl.org>
Sat, 6 Dec 2003 11:41:22 +0000 (11:41 +0000)
Submitted by: Nils Larsch

crypto/ecdsa/ecdsatest.c

index 59f664f..d58e9a6 100644 (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;