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:
Przemyslaw Stekiel 2022-01-20 09:18:44 +01:00
parent 5b2de0c35c
commit 221b52791e

View file

@ -1332,7 +1332,7 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context const *ssl,
add_data, add_data_len, add_data, add_data_len,
data, rec->data_len + transform->taglen, data, rec->data_len + transform->taglen,
data, rec->buf_len - (data - rec->buf), data, rec->buf_len - (data - rec->buf),
&rec->data_len ); &olen );
if( status != PSA_SUCCESS ) if( status != PSA_SUCCESS )
return( psa_status_to_mbedtls( status ) ); return( psa_status_to_mbedtls( status ) );