From c5a569927fb7bcfa34dde76dbc021d4f8a5c8fb1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 31 Oct 2016 21:50:26 +0100 Subject: test: add TLS application data corruption test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- test/ssltestlib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/ssltestlib.c') diff --git a/test/ssltestlib.c b/test/ssltestlib.c index 655fc05cb2..4e20763bee 100644 --- a/test/ssltestlib.c +++ b/test/ssltestlib.c @@ -550,6 +550,10 @@ int create_ssl_ctx_pair(const SSL_METHOD *sm, const SSL_METHOD *cm, goto err; } +#ifndef OPENSSL_NO_DH + SSL_CTX_set_dh_auto(serverctx, 1); +#endif + *sctx = serverctx; *cctx = clientctx; -- cgit v1.2.3