Fixing CI complains.

Signed-off-by: pespacek <peter.spacek@silabs.com>
This commit is contained in:
pespacek 2022-06-08 09:44:11 +02:00
parent b06acd734b
commit d9aaf768b5

View file

@ -923,7 +923,7 @@ static int ssl_tls13_write_certificate_verify_body( mbedtls_ssl_context *ssl,
unsigned char verify_hash[ MBEDTLS_MD_MAX_SIZE ]; unsigned char verify_hash[ MBEDTLS_MD_MAX_SIZE ];
size_t verify_hash_len; size_t verify_hash_len;
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;
*out_len = 0; *out_len = 0;
own_key = mbedtls_ssl_own_key( ssl ); own_key = mbedtls_ssl_own_key( ssl );
@ -984,7 +984,6 @@ static int ssl_tls13_write_certificate_verify_body( mbedtls_ssl_context *ssl,
/* Hash verify buffer with indicated hash function */ /* Hash verify buffer with indicated hash function */
psa_algorithm = mbedtls_psa_translate_md( md_alg ); psa_algorithm = mbedtls_psa_translate_md( md_alg );
status = psa_hash_compute( psa_algorithm, status = psa_hash_compute( psa_algorithm,
verify_buffer, verify_buffer,
verify_buffer_len, verify_buffer_len,