Forced cast to prevent MSVC compiler warning

This commit is contained in:
Paul Bakker 2013-10-15 13:24:01 +02:00
parent 5c17ccdf2a
commit 6888167e73

View File

@ -1886,7 +1886,7 @@ static int ssl_write_client_key_exchange( ssl_context *ssl )
ssl->out_msg[i++] = (unsigned char)( n );
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->f_rng, ssl->p_rng );
if( ret != 0 )