aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssltest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssltest.c')
-rw-r--r--test/ssltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ssltest.c b/test/ssltest.c
index 68d48d1d73..6455af3fbf 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -1475,6 +1475,7 @@ int main(int argc, char *argv[])
goto end;
}
+ SSL_CTX_set_ecdh_auto(s_ctx, 1);
SSL_CTX_set_tmp_ecdh(s_ctx, ecdh);
SSL_CTX_set_options(s_ctx, SSL_OP_SINGLE_ECDH_USE);
EC_KEY_free(ecdh);