mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 20:16:57 +00: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…
Reference in a new issue