Use size_t for msg_len argument in ssl_get_reassembly_buffer_size()

This commit is contained in:
Hanno Becker 2018-08-23 09:40:49 +01:00
parent 1b20e8e46e
commit 65dc885a3b

View File

@ -3555,7 +3555,7 @@ static int ssl_bitmask_check( unsigned char *mask, size_t len )
}
/* msg_len does not include the handshake header */
static size_t ssl_get_reassembly_buffer_size( unsigned msg_len,
static size_t ssl_get_reassembly_buffer_size( size_t msg_len,
unsigned add_bitmap )
{
size_t alloc_len;