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 59f664f50723063bfbecb5d2eb2a51adbf95bf9f..d58e9a63f0581183f5cf276b858070836b7757f4 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;