From 74dc009b23fcf3ea25ea988899095d49350f5f73 Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Wed, 20 Feb 2019 18:06:00 +0000 Subject: [PATCH] ECDH: Fix inclusion of platform.h for proper use of MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED --- programs/test/benchmark.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index ada42df99..fc84f5756 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -25,9 +25,8 @@ #include MBEDTLS_CONFIG_FILE #endif -#if defined(MBEDTLS_PLATFORM_C) #include "mbedtls/platform.h" -#else +#if !defined(MBEDTLS_PLATFORM_C) #include #include #define mbedtls_exit exit