diff options
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) |