mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-11 01:11:42 +08:00
Forced cast to prevent MSVC compiler warning
This commit is contained in:
parent
5c17ccdf2a
commit
6888167e73
@ -1886,7 +1886,7 @@ static int ssl_write_client_key_exchange( ssl_context *ssl )
|
|||||||
ssl->out_msg[i++] = (unsigned char)( n );
|
ssl->out_msg[i++] = (unsigned char)( n );
|
||||||
|
|
||||||
ret = dhm_make_public( &ssl->handshake->dhm_ctx,
|
ret = dhm_make_public( &ssl->handshake->dhm_ctx,
|
||||||
mpi_size( &ssl->handshake->dhm_ctx.P ),
|
(int) mpi_size( &ssl->handshake->dhm_ctx.P ),
|
||||||
&ssl->out_msg[i], n,
|
&ssl->out_msg[i], n,
|
||||||
ssl->f_rng, ssl->p_rng );
|
ssl->f_rng, ssl->p_rng );
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user