summaryrefslogtreecommitdiff
path: root/src/danetool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/danetool.c')
-rw-r--r--src/danetool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/danetool.c b/src/danetool.c
index 4c35964178..d5883569a3 100644
--- a/src/danetool.c
+++ b/src/danetool.c
@@ -715,7 +715,7 @@ static const char *obtain_cert(const char *hostname, const char *proto, const ch
if (priv->found == 0)
ret = -1;
- socket_bye(&hd);
+ socket_bye(&hd, 1);
gnutls_certificate_free_credentials(xcred);
if (ret == -1)