From 4146525ce9f7eca226a00f2aa271694322363180 Mon Sep 17 00:00:00 2001 From: Przemek Stekiel Date: Thu, 18 Aug 2022 12:43:07 +0200 Subject: [PATCH] Fix compilation guard (comment) Signed-off-by: Przemek Stekiel --- library/x509write_crt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509write_crt.c b/library/x509write_crt.c index 45d1f31ab..986e1fe12 100644 --- a/library/x509write_crt.c +++ b/library/x509write_crt.c @@ -256,7 +256,7 @@ int mbedtls_x509write_crt_set_authority_key_identifier( mbedtls_x509write_cert * 1, (MBEDTLS_ASN1_CONTEXT_SPECIFIC | 0) ); } -#endif /* MBEDTLS_HAS_ALG_SHA_1_VIA_MD_OR_PSA */ +#endif /* MBEDTLS_HAS_ALG_SHA_1_VIA_MD_OR_PSA_BASED_ON_USE_PSA */ int mbedtls_x509write_crt_set_key_usage( mbedtls_x509write_cert *ctx, unsigned int key_usage )