Fix msvc warning

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-11 14:54:11 +00:00
parent fba22fdc7e
commit 06d7519697

View file

@ -1490,7 +1490,7 @@ static int ssl_decrypt_buf( ssl_context *ssl )
unsigned char explicit_iv_len = ssl->transform_in->ivlen -
ssl->transform_in->fixed_ivlen;
if( ssl->in_msglen < explicit_iv_len + taglen )
if( ssl->in_msglen < (size_t) explicit_iv_len + taglen )
{
SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) "
"+ taglen (%d)", ssl->in_msglen,