mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01: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;
|
||||
}
|
||||
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 );
|
||||
key_type = psa_get_key_type( &attr );
|
||||
|
|
|
|||
Loading…
Reference in a new issue