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 <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-04-05 23:05:45 +03:00 committed by Jouni Malinen
parent 63f311b107
commit 88ab59d71b
3 changed files with 4 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -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)