From 291df7bbaba646d88ca578a6ef563218debaff52 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 a055c6ae60..010cfad9db 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) @@ -305,3 +308,5 @@ int mbedtls_cf_rsaes_pkcs1_v15_unpadding( unsigned char *input, size_t *olen ); #endif /* MBEDTLS_PKCS1_V15 && MBEDTLS_RSA_C && ! MBEDTLS_RSA_ALT */ + +#endif /* MBEDTLS_CONSTANT_TIME_INTERNAL_H */