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
1 changed files with 1 additions and 1 deletions
|
@ -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 ) );
|
||||||
|
|
Loading…
Reference in a new issue