From 5b944b5793bd4c968a1e1cfc75edeffaa9d7dbe3 Mon Sep 17 00:00:00 2001
From: Jarno Lamsa <jarno.lamsa@arm.com>
Date: Mon, 28 Oct 2019 10:30:10 +0200
Subject: [PATCH] define MBEDTLS_FS_IO

This is needed for the tests using certificate-files.
---
 configs/baremetal_test.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/baremetal_test.h b/configs/baremetal_test.h
index 33b51673d..7a0377708 100644
--- a/configs/baremetal_test.h
+++ b/configs/baremetal_test.h
@@ -43,6 +43,9 @@
 /* Use Mbed TLS' timer implementation for Linux. */
 #define MBEDTLS_TIMING_C
 
+/* Needed for certificates in ssl_opt.sh */
+#define MBEDTLS_FS_IO
+
 #undef MBEDTLS_NO_PLATFORM_ENTROPY
 
 #undef  MBEDTLS_ENTROPY_MAX_SOURCES