mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Add additional guard for sha256 in tests
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
167a754c0d
commit
9c3cd1a5d4
@ -91,7 +91,9 @@ static void tls_abort_transcript(void *ctx, int level,
|
||||
}
|
||||
|
||||
abort_ctx->triggered = 1;
|
||||
#if defined(PSA_WANT_ALG_SHA_256)
|
||||
psa_hash_abort(&abort_ctx->ssl->handshake->fin_sha256_psa);
|
||||
#endif
|
||||
#if defined(PSA_WANT_ALG_SHA_384)
|
||||
psa_hash_abort(&abort_ctx->ssl->handshake->fin_sha384_psa);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user