fix: Disabling the MBEDTLS_SSL_CLI_C feature caused a compilation error: unused parameter "ssl".

Signed-off-by: hi <hi@nosec.me>
This commit is contained in:
hi
2026-01-26 20:09:48 +08:00
parent 46a5f309d6
commit d823908335

View File

@@ -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. */