Forced cast to prevent MSVC compiler warning

This commit is contained in:
Paul Bakker 2014-07-07 13:46:10 +02:00
parent 4c9301a7af
commit 52cb87beb7

View File

@ -1071,7 +1071,7 @@ static int ssl_write_client_key_exchange( ssl_context *ssl )
i = 6;
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 )