mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 16:55:40 +01:00
Use size_t for msg_len argument in ssl_get_reassembly_buffer_size()
This commit is contained in:
parent
1b20e8e46e
commit
65dc885a3b
@ -3555,7 +3555,7 @@ static int ssl_bitmask_check( unsigned char *mask, size_t len )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* msg_len does not include the handshake header */
|
/* 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 )
|
unsigned add_bitmap )
|
||||||
{
|
{
|
||||||
size_t alloc_len;
|
size_t alloc_len;
|
||||||
|
Loading…
Reference in New Issue
Block a user