mbedtls_ssl_reset_transcript_for_hrr: remove redundant 'else' statement

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel 2022-09-07 10:56:30 +02:00 committed by Przemyslaw Stekiel
parent 8a2f2b0bd6
commit 0852ef8b96

View file

@ -1401,7 +1401,7 @@ int mbedtls_ssl_reset_transcript_for_hrr( mbedtls_ssl_context *ssl )
}
#endif /* MBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA_BASED_ON_USE_PSA */
#if defined(MBEDTLS_HAS_ALG_SHA_384_VIA_MD_OR_PSA_BASED_ON_USE_PSA)
else if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 )
if( ciphersuite_info->mac == MBEDTLS_MD_SHA384 )
{
MBEDTLS_SSL_DEBUG_BUF( 4, "Truncated SHA-384 handshake transcript",
hash_transcript, hash_len );