From: Arran Cudbard-Bell Date: Sun, 7 Jun 2015 15:06:27 +0000 (-0400) Subject: Print out log message before validation X-Git-Tag: release_3_0_9~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1ca019799ff94b101c6979c613b1d458381c84b;p=thirdparty%2Ffreeradius-server.git Print out log message before validation --- diff --git a/src/modules/rlm_eap/libeap/eap_tls.c b/src/modules/rlm_eap/libeap/eap_tls.c index 56f1ffc7c5e..438f8a91f20 100644 --- a/src/modules/rlm_eap/libeap/eap_tls.c +++ b/src/modules/rlm_eap/libeap/eap_tls.c @@ -420,6 +420,9 @@ static fr_tls_status_t eaptls_verify(eap_handler_t *handler) return FR_TLS_FIRST_FRAGMENT; } + RDEBUG2("Got additional TLS record fragment with length (%zu bytes). " + "Peer indicated more fragments to follow", frag_len); + /* * Check we've not exceeded the originally indicated TLS record size. */ @@ -430,8 +433,6 @@ static fr_tls_status_t eaptls_verify(eap_handler_t *handler) return FR_TLS_INVALID; } - RDEBUG2("Got additional TLS record fragment with length (%zu bytes). " - "Peer indicated more fragments to follow", frag_len); return FR_TLS_MORE_FRAGMENTS_WITH_LENGTH; }