diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 18:23:32 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-12 18:23:32 +0100 |
commit | b3310161249a848a5243952467a1f3927ad78bfa (patch) | |
tree | effad6f46ee2d9e78d9b03807f0e4d97c70804b9 /ssl | |
parent | dso_dlfcn.c: make it work on Tru64 4.0. (diff) | |
download | openssl-b3310161249a848a5243952467a1f3927ad78bfa.tar.xz openssl-b3310161249a848a5243952467a1f3927ad78bfa.zip |
New option to disable characteristic two fields in EC code.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssltest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index cfd40bc500..79af27be4d 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -931,7 +931,11 @@ bad: } } else +#ifdef OPENSSL_NO_EC2M + nid = NID_X9_62_prime256v1; +#else nid = NID_sect163r2; +#endif ecdh = EC_KEY_new_by_curve_name(nid); if (ecdh == NULL) |