Review corrections 5

-Remove unintentional type chaneg (size_t to uint32_t)
 -Follow mbedtls coding style in trace message
This commit is contained in:
Arto Kinnunen 2019-09-10 10:32:30 +03:00
parent 9b3b19407a
commit 84eeb4fd96
2 changed files with 2 additions and 2 deletions

View file

@ -1707,7 +1707,7 @@ static int ssl_parse_server_hello( mbedtls_ssl_context *ssl )
}
MBEDTLS_SSL_DEBUG_MSG( 3, ( "server hello, current time: %lu",
(unsigned long)mbedtls_platform_get_uint32_be(&buf[2])) );
(unsigned long)mbedtls_platform_get_uint32_be( &buf[2] ) ) );
memcpy( ssl->handshake->randbytes + 32, buf + 2, 32 );