projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Only support >= 256-bit elliptic curves with ecdh_auto (server) or by default (client).
[openssl.git]
/
test
/
ssltest.c
diff --git
a/test/ssltest.c
b/test/ssltest.c
index 95ba1a0bf761260497baeec89ecf313fdecc2002..136bf9a3c9ecbe3cd557bc4019a5c0d4386ae568 100644
(file)
--- a/
test/ssltest.c
+++ b/
test/ssltest.c
@@
-1494,12
+1494,9
@@
int main(int argc, char *argv[])
BIO_printf(bio_err, "unknown curve name (%s)\n", named_curve);
goto end;
}
- } else
-# ifdef OPENSSL_NO_EC2M
+ } else {
nid = NID_X9_62_prime256v1;
-# else
- nid = NID_sect163r2;
-# endif
+ }
ecdh = EC_KEY_new_by_curve_name(nid);
if (ecdh == NULL) {