From 29affbccabb1b42002913d3cc15de2dc6eb04b74 Mon Sep 17 00:00:00 2001 From: Kimmo Vaisanen Date: Thu, 27 Feb 2020 09:42:31 +0200 Subject: [PATCH] Remove explicit include of mbedtls/config.h Including mbedtls/config.h should not be done explicitely. This prevents using MBEDTLS_CONFIG_FILE macro. Correct config file is automatically included by other mbedtls header files. --- features/device_key/source/DeviceKey.cpp | 1 - features/lorawan/lorastack/mac/LoRaMacCrypto.h | 1 - 2 files changed, 2 deletions(-) diff --git a/features/device_key/source/DeviceKey.cpp b/features/device_key/source/DeviceKey.cpp index 6dcf2c440a..6220688a59 100644 --- a/features/device_key/source/DeviceKey.cpp +++ b/features/device_key/source/DeviceKey.cpp @@ -17,7 +17,6 @@ #include "DeviceKey.h" #if DEVICEKEY_ENABLED -#include "mbedtls/config.h" #include "mbedtls/cmac.h" #include "mbedtls/platform.h" #include "features/storage/kvstore/include/KVStore.h" diff --git a/features/lorawan/lorastack/mac/LoRaMacCrypto.h b/features/lorawan/lorastack/mac/LoRaMacCrypto.h index 9136ab2d1f..71173672a2 100644 --- a/features/lorawan/lorastack/mac/LoRaMacCrypto.h +++ b/features/lorawan/lorastack/mac/LoRaMacCrypto.h @@ -30,7 +30,6 @@ SPDX-License-Identifier: BSD-3-Clause #ifndef MBED_LORAWAN_MAC_LORAMAC_CRYPTO_H__ #define MBED_LORAWAN_MAC_LORAMAC_CRYPTO_H__ -#include "mbedtls/config.h" #include "mbedtls/aes.h" #include "mbedtls/cmac.h"