From 4e0cc40d0f8ed24e7ab91705e85dbe272c5a23bc Mon Sep 17 00:00:00 2001
From: David Horstmann <david.horstmann@arm.com>
Date: Mon, 29 Nov 2021 18:55:16 +0000
Subject: [PATCH] programs/fuzz: Use build_info.h in common.h

Remove direct inclusion of mbedtls_config.h and replace with
build_info.h, as is the convention in Mbed TLS 3.0.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
---
 programs/fuzz/common.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/programs/fuzz/common.h b/programs/fuzz/common.h
index 37495a6f3..7bb7b8778 100644
--- a/programs/fuzz/common.h
+++ b/programs/fuzz/common.h
@@ -1,8 +1,4 @@
-#if !defined(MBEDTLS_CONFIG_FILE)
-#include "mbedtls/mbedtls_config.h"
-#else
-#include MBEDTLS_CONFIG_FILE
-#endif
+#include "mbedtls/build_info.h"
 
 #if defined(MBEDTLS_HAVE_TIME)
 #include "mbedtls/platform_time.h"