1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Init psa status to PSA_ERROR_CORRUPTION_DETECTED

Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemyslaw Stekiel
2022-02-03 08:55:33 +01:00
parent f4facef9ba
commit d66387f8fa
3 changed files with 7 additions and 7 deletions

View File

@ -722,7 +722,7 @@ static int ssl_tls12_populate_transform( mbedtls_ssl_transform *transform,
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
psa_algorithm_t alg;
size_t key_bits;
psa_status_t status;
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
#endif
#if !defined(MBEDTLS_DEBUG_C) && \