From d8239083355f0b4a991acaad3c8fd66494a6fbce Mon Sep 17 00:00:00 2001 From: hi Date: Mon, 26 Jan 2026 20:09:48 +0800 Subject: [PATCH] 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. */