Review corrections

-Fix compiler warnings by typecast
 -Add missing brackets to few places
 -Remove additional line change
This commit is contained in:
Arto Kinnunen 2019-09-06 17:37:01 +03:00
parent ee9bfca823
commit 6e3f09b431
3 changed files with 6 additions and 6 deletions

View file

@ -2774,7 +2774,7 @@ static int ssl_write_server_hello( mbedtls_ssl_context *ssl )
#if defined(MBEDTLS_HAVE_TIME)
t = mbedtls_time( NULL );
p = mbedtls_platform_put_uint32_be( p, t );
p = mbedtls_platform_put_uint32_be( p, (uint32_t) t );
MBEDTLS_SSL_DEBUG_MSG( 3, ( "server hello, current time: %lu", t ) );
#else