diff options
author | Ulf Möller <ulf@openssl.org> | 2003-12-06 11:41:22 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2003-12-06 11:41:22 +0000 |
commit | a9f2330f432809cafcfa65e4265f5219436f08e4 (patch) | |
tree | 926296d68bbfca1ed86920b3dbbaab495d2a6d5a /crypto/ecdsa | |
parent | ce38bb1a8c68db205069dc4595afcd02594c9d98 (diff) |
Skip a curve with generator of non-prime order.
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ecdsa')
-rw-r--r-- | crypto/ecdsa/ecdsatest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ecdsa/ecdsatest.c b/crypto/ecdsa/ecdsatest.c index 59f664f507..d58e9a63f0 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; |