mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Correct syntax of MBEDTLS_GET_UINT32_BE in write_new_session_ticket_mem
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
e9332e8ebe
commit
f2a1306c86
@ -6432,7 +6432,7 @@ void write_new_session_ticket_mem()
|
||||
* uninitialized memory.
|
||||
* The read here causes MSan and Valgrind to complain if the bug isn't fixed.
|
||||
*/
|
||||
volatile unsigned char lifetime = MBEDTLS_GET_UINT32_BE(server_ep.ssl.out_msg + 4);
|
||||
volatile uint32_t lifetime = MBEDTLS_GET_UINT32_BE(server_ep.ssl.out_msg, 4);
|
||||
(void) lifetime;
|
||||
|
||||
exit:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user