summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-12-30 15:32:57 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-01-01 13:45:48 +0000
commitb83314e3a331dfca74d382fb09529d447b9d63f0 (patch)
treee88216ce593e3f91c50d7174d7c4f76afc222843
parent4b7a74717ed76f5336fe677bb360fe3da0e47aa6 (diff)
tidying
-rw-r--r--src/src/tls-gnu.c3
-rw-r--r--test/scripts/2000-GnuTLS/20272
2 files changed, 5 insertions, 0 deletions
diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index 8cf28fca3..5c9fd3965 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -1761,8 +1761,11 @@ goodcert:
state->tlsp->peerdn = state->peerdn;
return TRUE;
+#ifdef SUPPORT_DANE
tlsa_prob:
*errstr = string_sprintf("TLSA record problem: %s", dane_strerror(rc));
+#endif
+
badcert:
gnutls_alert_send(state->session, GNUTLS_AL_FATAL, GNUTLS_A_BAD_CERTIFICATE);
return FALSE;
diff --git a/test/scripts/2000-GnuTLS/2027 b/test/scripts/2000-GnuTLS/2027
index bf0b06fd9..0d94ac4cd 100644
--- a/test/scripts/2000-GnuTLS/2027
+++ b/test/scripts/2000-GnuTLS/2027
@@ -12,5 +12,7 @@ Test message
exim -qf
****
killdaemon
+#
+millisleep 500
exim -DSERVER=server -DNOTDAEMON -qf
****