peap: Add debug statements
PATCH 1/1 peap: Add debug statements
--- src/eap-peap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
src/eap-peap.c +6 -1
@@ -170,6 +170,8 @@ static int eap_extensions_handle_cryptobinding_tlv(struct eap_state *eap,uint8_t buf[61 ];uint8_t imck[60 ]; +l_debug (); +if (tlv_value_len != cryptobinding_val_len)return -EBADMSG ;
@@ -405,8 +407,11 @@ static void eap_extensions_handle_request(struct eap_state *eap, &response[EAP_EXTENSIONS_HEADER_LEN ], &result); -if (response_len <0 ) +if (response_len <0 ) { +l_debug ("PEAP: Failed to process TLVs %d" , response_len); +return ; + } response_len +=EAP_EXTENSIONS_HEADER_LEN ;
Signature · 1 line
2.13.6
Denis Kenzior
AppliedHi Tim,
Quoted 4 lines · Tim Kourt
--- src/eap-peap.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Applied, thanks.
Regards,
-Denis