summaryrefslogtreecommitdiff
path: root/src
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 /src
parent4b7a74717ed76f5336fe677bb360fe3da0e47aa6 (diff)
tidying
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-gnu.c3
1 files changed, 3 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;