diff --git a/library/ssl_tls13_generic.c b/library/ssl_tls13_generic.c index a90ddba43e..aa593181d2 100644 --- a/library/ssl_tls13_generic.c +++ b/library/ssl_tls13_generic.c @@ -923,7 +923,7 @@ static int ssl_tls13_write_certificate_verify_body( mbedtls_ssl_context *ssl, unsigned char verify_hash[ MBEDTLS_MD_MAX_SIZE ]; size_t verify_hash_len; psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; - + *out_len = 0; 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 */ psa_algorithm = mbedtls_psa_translate_md( md_alg ); - status = psa_hash_compute( psa_algorithm, verify_buffer, verify_buffer_len,