Fix a log message
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/library/ssl_msg.c b/library/ssl_msg.c
index ef842b0..0a8f4a3 100644
--- a/library/ssl_msg.c
+++ b/library/ssl_msg.c
@@ -3386,7 +3386,7 @@
/* Update the record length in the fully reassembled record */
if (ssl->in_msglen > 0xffff) {
MBEDTLS_SSL_DEBUG_MSG(1,
- ("Shouldn't happen: in_hslen=%"
+ ("Shouldn't happen: in_msglen=%"
MBEDTLS_PRINTF_SIZET " > 0xffff",
ssl->in_msglen));
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;