mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-14 22:29:57 +00:00
Correct syntax of MBEDTLS_GET_UINT32_BE in write_new_session_ticket_mem
Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user