Use size_t instead of uint32_t for ssl I/O buffer lengths
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
4a0637981b
commit
069fa96cd7
2 changed files with 8 additions and 8 deletions
|
@ -262,8 +262,8 @@ static int resize_buffer( unsigned char **buffer, size_t len_new, size_t *len_ol
|
|||
}
|
||||
|
||||
static void handle_buffer_resizing( mbedtls_ssl_context *ssl, int downsizing,
|
||||
uint32_t in_buf_new_len,
|
||||
uint32_t out_buf_new_len )
|
||||
size_t in_buf_new_len,
|
||||
size_t out_buf_new_len )
|
||||
{
|
||||
int modified = 0;
|
||||
size_t written_in = 0, iv_offset_in = 0, len_offset_in = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue