From 5f39767495331edc29417c52e55f06a0ab665d41 Mon Sep 17 00:00:00 2001 From: Nick Child Date: Fri, 28 Oct 2022 12:38:41 -0500 Subject: [PATCH] pkcs7: Fix imports Respond to feedback about duplicate imports[1] and new import style [2]. [1] https://github.com/Mbed-TLS/mbedtls/pull/3431#discussion_r991355485 [2] https://github.com/Mbed-TLS/mbedtls/pull/3431#pullrequestreview-1138745361 Signed-off-by: Nick Child --- library/pkcs7.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/library/pkcs7.c b/library/pkcs7.c index ab7bebdf2f..7976a0b3a9 100644 --- a/library/pkcs7.c +++ b/library/pkcs7.c @@ -34,17 +34,8 @@ #include #endif -#if defined(MBEDTLS_PLATFORM_C) #include "mbedtls/platform.h" #include "mbedtls/platform_util.h" -#else -#include -#include -#define mbedtls_free free -#define mbedtls_calloc calloc -#define mbedtls_printf printf -#define mbedtls_snprintf snprintf -#endif #if defined(MBEDTLS_HAVE_TIME) #include "mbedtls/platform_time.h"