mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 04:20:12 +00:00
ssl_msg.c: fix parm in call to mbedtls_ssl_decrypt_buf()
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
5b2de0c35c
commit
221b52791e
@ -1332,7 +1332,7 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context const *ssl,
|
||||
add_data, add_data_len,
|
||||
data, rec->data_len + transform->taglen,
|
||||
data, rec->buf_len - (data - rec->buf),
|
||||
&rec->data_len );
|
||||
&olen );
|
||||
|
||||
if( status != PSA_SUCCESS )
|
||||
return( psa_status_to_mbedtls( status ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user