From e86cd6575472dedd67c45938c41dcc50404e78ef Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Mon, 27 Sep 2021 14:38:20 +0800 Subject: [PATCH] fix unused-variable fail without MBEDTLS_DEBUG_C Signed-off-by: Jerry Yu --- library/ssl_tls13_server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c index 5238f044eb..86f44cb65f 100644 --- a/library/ssl_tls13_server.c +++ b/library/ssl_tls13_server.c @@ -29,6 +29,7 @@ int mbedtls_ssl_tls13_handshake_server_step( mbedtls_ssl_context *ssl ) { + ((void) ssl); MBEDTLS_SSL_DEBUG_MSG( 2, ( "tls1_3 server state: %d", ssl->state ) ); return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE );