mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-26 23:14:07 +08:00
Fix a log message
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
dab1cb5b45
commit
e34ec86370
@ -3129,7 +3129,7 @@ int mbedtls_ssl_prepare_handshake_record(mbedtls_ssl_context *ssl)
|
|||||||
/* Update the record length in the fully reassembled record */
|
/* Update the record length in the fully reassembled record */
|
||||||
if (ssl->in_msglen > 0xffff) {
|
if (ssl->in_msglen > 0xffff) {
|
||||||
MBEDTLS_SSL_DEBUG_MSG(1,
|
MBEDTLS_SSL_DEBUG_MSG(1,
|
||||||
("Shouldn't happen: in_hslen=%"
|
("Shouldn't happen: in_msglen=%"
|
||||||
MBEDTLS_PRINTF_SIZET " > 0xffff",
|
MBEDTLS_PRINTF_SIZET " > 0xffff",
|
||||||
ssl->in_msglen));
|
ssl->in_msglen));
|
||||||
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user