From bb883244aa86325cd5f7915cb6cf0bafc1fc7131 Mon Sep 17 00:00:00 2001 From: Xiaokang Qian Date: Mon, 6 Feb 2023 10:46:35 +0000 Subject: [PATCH] Remove useless comments of outbound switch Signed-off-by: Xiaokang Qian --- library/ssl_tls13_client.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c index 3d6f6266bd..46e7284039 100644 --- a/library/ssl_tls13_client.c +++ b/library/ssl_tls13_client.c @@ -2254,12 +2254,6 @@ static int ssl_tls13_write_end_of_early_data(mbedtls_ssl_context *ssl) MBEDTLS_SSL_PROC_CHK( mbedtls_ssl_finish_handshake_msg(ssl, buf_len, 0)); - /* TODO: Currently switch outbound back to handshake key in the case of - * MBEDTLS_SSL_CLIENT_CERTIFICATE. If we refine the coordinate function - * of client certificate state machine, we have to move the switch - * outbound function. - */ - mbedtls_ssl_handshake_set_state(ssl, MBEDTLS_SSL_CLIENT_CERTIFICATE); cleanup: