From 88ab59d71b3c962d264b2bd3cba580f19bf3db9b 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 --- src/eap_peer/eap_tls.c | 3 ++- src/eap_peer/eap_ttls.c | 2 +- src/eap_server/eap_server_tls_common.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/eap_peer/eap_tls.c b/src/eap_peer/eap_tls.c index 1c695048c..f103e7e72 100644 --- a/src/eap_peer/eap_tls.c +++ b/src/eap_peer/eap_tls.c @@ -305,7 +305,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/src/eap_peer/eap_ttls.c b/src/eap_peer/eap_ttls.c index b27408179..c8e2de0a2 100644 --- a/src/eap_peer/eap_ttls.c +++ b/src/eap_peer/eap_ttls.c @@ -1477,7 +1477,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; diff --git a/src/eap_server/eap_server_tls_common.c b/src/eap_server/eap_server_tls_common.c index 139e97720..52e501904 100644 --- a/src/eap_server/eap_server_tls_common.c +++ b/src/eap_server/eap_server_tls_common.c @@ -391,7 +391,7 @@ int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data) /* fallthrough */ case EAP_TYPE_TLS: wpa_printf(MSG_DEBUG, - "EAP-TLS: Send Commitment Message"); + "EAP-TLS: Send protected success indication (appl data 0x00)"); plain = wpabuf_alloc(1); if (!plain)