From: Arran Cudbard-Bell Date: Wed, 17 May 2017 20:50:09 +0000 (-0400) Subject: Print the error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0adbccc7e05f06d6fc8978989b2d61bee3b35a;p=thirdparty%2Ffreeradius-server.git Print the error --- diff --git a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c index 522bede18df..8ee918ffcd3 100644 --- a/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c +++ b/src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c @@ -771,6 +771,7 @@ PW_CODE eap_ttls_process(eap_session_t *eap_session, tls_session_t *tls_session) fr_pair_cursor_init(&cursor, &fake->packet->vps); if (eap_ttls_decode_pair(fake->packet, &cursor, fr_dict_root(fr_dict_internal), data, data_len, tls_session->ssl) < 0) { + RPEDEBUG("Decoding TTLS TLVs failed"); code = PW_CODE_ACCESS_REJECT; goto finish; }