From 6e0e9905441c410a2053b9c8f58f31b8de90bf44 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Tue, 19 Oct 2021 11:27:17 +0200 Subject: [PATCH] Add macro guard for header file Signed-off-by: Gabor Mezei --- library/constant_time.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/constant_time.h b/library/constant_time.h index 5796f120d..26e0dd097 100644 --- a/library/constant_time.h +++ b/library/constant_time.h @@ -17,6 +17,9 @@ * limitations under the License. */ +#ifndef MBEDTLS_CONSTANT_TIME_INTERNAL_H +#define MBEDTLS_CONSTANT_TIME_INTERNAL_H + #include "common.h" #if defined(MBEDTLS_BIGNUM_C) @@ -308,3 +311,5 @@ int mbedtls_cf_rsaes_pkcs1_v15_unpadding( int mode, size_t *olen ); #endif /* MBEDTLS_PKCS1_V15 && MBEDTLS_RSA_C && ! MBEDTLS_RSA_ALT */ + +#endif /* MBEDTLS_CONSTANT_TIME_INTERNAL_H */