From 98183fe0620d456a056f90ba6f9cf7c525dc4e1e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 5 Apr 2022 23:05:45 +0300 Subject: [PATCH] EAP-TLS: Replace the Commitment Message term with RFC 9190 language While the drafts for RFC 9190 used a separate Commitment Message term, that term was removed from the published RFC. Update the debug prints to match that final language. Signed-off-by: Jouni Malinen --- components/wpa_supplicant/src/eap_peer/eap_tls.c | 3 ++- components/wpa_supplicant/src/eap_peer/eap_ttls.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/wpa_supplicant/src/eap_peer/eap_tls.c b/components/wpa_supplicant/src/eap_peer/eap_tls.c index 7939370ad9..dcb604e51c 100644 --- a/components/wpa_supplicant/src/eap_peer/eap_tls.c +++ b/components/wpa_supplicant/src/eap_peer/eap_tls.c @@ -245,7 +245,8 @@ static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, /* RFC 9190 Section 2.5 */ if (res == 2 && data->ssl.tls_v13 && wpabuf_len(resp) == 1 && *wpabuf_head_u8(resp) == 0) { - wpa_printf(MSG_DEBUG, "EAP-TLS: ACKing Commitment Message"); + wpa_printf(MSG_DEBUG, + "EAP-TLS: ACKing protected success indication (appl data 0x00)"); eap_peer_tls_reset_output(&data->ssl); res = 1; } diff --git a/components/wpa_supplicant/src/eap_peer/eap_ttls.c b/components/wpa_supplicant/src/eap_peer/eap_ttls.c index d04ae75c82..e664d57eff 100644 --- a/components/wpa_supplicant/src/eap_peer/eap_ttls.c +++ b/components/wpa_supplicant/src/eap_peer/eap_ttls.c @@ -1427,7 +1427,7 @@ start: if (data->ssl.tls_v13 && wpabuf_len(in_decrypted) == 1 && *wpabuf_head_u8(in_decrypted) == 0) { wpa_printf(MSG_DEBUG, - "EAP-TTLS: ACKing EAP-TLS Commitment Message"); + "EAP-TLS: ACKing protected success indication (appl data 0x00)"); eap_peer_tls_reset_output(&data->ssl); wpabuf_free(in_decrypted); return 1;