mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-07 13:22:46 +00:00
Fix condition in mbedtls_ssl_get_record_expansion
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
e5c2238a99
commit
399ed51185
@ -5101,7 +5101,7 @@ int mbedtls_ssl_get_record_expansion( const mbedtls_ssl_context *ssl )
|
|||||||
{
|
{
|
||||||
transform_expansion = transform->minlen;
|
transform_expansion = transform->minlen;
|
||||||
}
|
}
|
||||||
else if ( transform->psa_alg )
|
else if ( transform->psa_alg == PSA_ALG_CBC_NO_PADDING )
|
||||||
{
|
{
|
||||||
(void) psa_get_key_attributes( transform->psa_key_enc, &attr );
|
(void) psa_get_key_attributes( transform->psa_key_enc, &attr );
|
||||||
key_type = psa_get_key_type( &attr );
|
key_type = psa_get_key_type( &attr );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user