]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print the error
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 May 2017 20:50:09 +0000 (16:50 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 17 May 2017 20:50:09 +0000 (16:50 -0400)
src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c

index 522bede18dfae1232fb7f8c288c82457e190d396..8ee918ffcd3a1a36afc14c793df3c4f75c3f2d1f 100644 (file)
@@ -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;
        }