From 755ddff25c68a97cd4e8ac0c5b23761d4ac6a154 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Wed, 15 Jun 2022 07:31:40 -0400 Subject: [PATCH] Fix print format in a debug message Signed-off-by: Andrzej Kurek --- library/ssl_tls12_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls12_server.c b/library/ssl_tls12_server.c index 7f8047beb..ac36f04d2 100644 --- a/library/ssl_tls12_server.c +++ b/library/ssl_tls12_server.c @@ -1280,7 +1280,7 @@ read_record_header: } { size_t handshake_len = MBEDTLS_GET_UINT24_BE( buf, 1 ); - MBEDTLS_SSL_DEBUG_MSG( 3, ( "client hello v3, handshake len.: %d", + MBEDTLS_SSL_DEBUG_MSG( 3, ( "client hello v3, handshake len.: %u", ( unsigned ) handshake_len ) ); /* The record layer has a record size limit of 2^14 - 1 and