mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix dodgy printf calls
Pacify `clang -Wformat-pedantic`. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@ -3383,8 +3383,8 @@ int mbedtls_ssl_prepare_handshake_record(mbedtls_ssl_context *ssl)
|
|||||||
MBEDTLS_PRINTF_SIZET " from %p to %p (buf=%p len=%"
|
MBEDTLS_PRINTF_SIZET " from %p to %p (buf=%p len=%"
|
||||||
MBEDTLS_PRINTF_SIZET ")",
|
MBEDTLS_PRINTF_SIZET ")",
|
||||||
ssl->in_msglen,
|
ssl->in_msglen,
|
||||||
ssl->in_msg, payload_end,
|
(void *) ssl->in_msg, (void *) payload_end,
|
||||||
ssl->in_buf, in_buf_len));
|
(void *) ssl->in_buf, in_buf_len));
|
||||||
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
return MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
}
|
}
|
||||||
memmove(payload_end, ssl->in_msg, ssl->in_msglen);
|
memmove(payload_end, ssl->in_msg, ssl->in_msglen);
|
||||||
|
Reference in New Issue
Block a user