From d8239083355f0b4a991acaad3c8fd66494a6fbce Mon Sep 17 00:00:00 2001 From: hi Date: Mon, 26 Jan 2026 20:09:48 +0800 Subject: [PATCH 1/2] fix: Disabling the MBEDTLS_SSL_CLI_C feature caused a compilation error: unused parameter "ssl". Signed-off-by: hi --- library/ssl_msg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index d4b915aa74..d0f281975a 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -5412,6 +5412,8 @@ static int ssl_tls13_handle_hs_message_post_handshake(mbedtls_ssl_context *ssl) #endif } } +#else + (void)ssl; #endif /* MBEDTLS_SSL_CLI_C */ /* Fail in all other cases. */ From 4987340d24c2934ceae06f47f749649cacea3ce0 Mon Sep 17 00:00:00 2001 From: hi Date: Thu, 29 Jan 2026 00:14:36 +0800 Subject: [PATCH 2/2] fix code style in ssl_msg.c and add signoff Signed-off-by: hi --- library/ssl_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index d0f281975a..7e91a441e6 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -5413,7 +5413,7 @@ static int ssl_tls13_handle_hs_message_post_handshake(mbedtls_ssl_context *ssl) } } #else - (void)ssl; + (void) ssl; #endif /* MBEDTLS_SSL_CLI_C */ /* Fail in all other cases. */