From 20384f416e30dd19c52f72da8946fc4c9a027630 Mon Sep 17 00:00:00 2001 From: Pengyu Lv Date: Thu, 21 Sep 2023 10:14:16 +0800 Subject: [PATCH] Fix the comments of some guards Signed-off-by: Pengyu Lv --- include/mbedtls/aesni.h | 2 +- include/mbedtls/padlock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/aesni.h b/include/mbedtls/aesni.h index 49bc9e17c063..0da40a0a3cfb 100644 --- a/include/mbedtls/aesni.h +++ b/include/mbedtls/aesni.h @@ -176,6 +176,6 @@ int mbedtls_aesni_setkey_enc(unsigned char *rk, #endif #endif /* MBEDTLS_AESNI_HAVE_CODE */ -#endif /* MBEDTLS_AESNI_C */ +#endif /* MBEDTLS_AESNI_C && (MBEDTLS_HAVE_X86_64 || MBEDTLS_HAVE_X86) */ #endif /* MBEDTLS_AESNI_H */ diff --git a/include/mbedtls/padlock.h b/include/mbedtls/padlock.h index 184e18318981..13c65fcccd48 100644 --- a/include/mbedtls/padlock.h +++ b/include/mbedtls/padlock.h @@ -123,6 +123,6 @@ int mbedtls_padlock_xcryptcbc(mbedtls_aes_context *ctx, } #endif -#endif /* MBEDTLS_VIA_PADLOCK_HAVE_CODE */ +#endif /* MBEDTLS_VIA_PADLOCK_HAVE_CODE */ #endif /* padlock.h */