From c5bbdd411c620ed6739c62e7b96e222c9d43225a Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Mon, 25 Nov 2019 17:32:28 +0200 Subject: [PATCH] Include platform.h in hmac_drbg.c and md.c Include platform.h to find MBEDTLS_ERR_PLATFORM_FAULT_DETECTED. --- library/hmac_drbg.c | 1 + library/md.c | 1 + 2 files changed, 2 insertions(+) diff --git a/library/hmac_drbg.c b/library/hmac_drbg.c index 2ebdac088..2b79ee541 100644 --- a/library/hmac_drbg.c +++ b/library/hmac_drbg.c @@ -34,6 +34,7 @@ #if defined(MBEDTLS_HMAC_DRBG_C) #include "mbedtls/hmac_drbg.h" +#include "mbedtls/platform.h" #include "mbedtls/platform_util.h" #include diff --git a/library/md.c b/library/md.c index 777b43caa..4f03acc38 100644 --- a/library/md.c +++ b/library/md.c @@ -32,6 +32,7 @@ #if defined(MBEDTLS_MD_C) #include "mbedtls/md.h" +#include "mbedtls/platform.h" #include "mbedtls/platform_util.h" #if defined(MBEDTLS_PLATFORM_C)