summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-08-08 20:45:24 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-08-08 20:45:24 +0100
commit12ee8cf9db5b6c81b0e492c64f305d7ba1cf4dc2 (patch)
tree2dd9dbfa5a7e86c1bb7161955bd1cbbb84ef4712 /src
parent868f567254760f9414689debe3639bc190dcc97e (diff)
Testsuite basics.
Not actually excercising DANE yet, this will take additions in the fakedns and probably changes in certificates.
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c3
1 files changed, 2 insertions, 1 deletions
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)