From 12ee8cf9db5b6c81b0e492c64f305d7ba1cf4dc2 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 8 Aug 2014 20:45:24 +0100 Subject: Testsuite basics. Not actually excercising DANE yet, this will take additions in the fakedns and probably changes in certificates. --- src/src/tls-openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 8a4e5a7ae..201636db0 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -1829,7 +1829,8 @@ rc = SSL_connect(client_ssl); alarm(0); #ifdef EXPERIMENTAL_DANE -DANESSL_cleanup(client_ssl); /*XXX earliest possible callpoint. Too early? */ +if (dane) + DANESSL_cleanup(client_ssl); /*XXX earliest possible callpoint. Too early? */ #endif if (rc <= 0) -- cgit v1.2.3