]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-TLS: Replace the Commitment Message term with RFC 9190 language
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 5 Apr 2022 20:05:45 +0000 (23:05 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 5 Apr 2022 20:05:45 +0000 (23:05 +0300)
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>
src/eap_peer/eap_tls.c
src/eap_peer/eap_ttls.c
src/eap_server/eap_server_tls_common.c

index 1c695048ca70d07d32be24dac3e49e3116948ffe..f103e7e7275afa807d266fdd7802d74ea530a28c 100644 (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;
        }
index b2740817919fa711bc2165bb178bb5d4909380c1..c8e2de0a26a637919c9e792b4953d1ff8828e451 100644 (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;
index 139e97720351b04467198af545ea9dfae5ac04f5..52e501904c2aa4df51e732c87b58970add59fe8d 100644 (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)