diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/tls-gnu.c | 3 |
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; |