From 99082aeac7a49555ba4c4644b1469d211a8650e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teppo=20J=C3=A4rvelin?= Date: Wed, 23 Oct 2019 15:02:25 +0300 Subject: [PATCH] Fixed CI tests by overriding value MBEDTLS_ENTROPY_MAX_SOURCES Override define MBEDTLS_ENTROPY_MAX_SOURCES from 1 to 3 in baremetal_test.h mbedtls_entropy_init adds 2 sources already so max must be 3 so that one source can be added with mbedtls_entropy_add_source. --- configs/baremetal_test.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/baremetal_test.h b/configs/baremetal_test.h index b107bd79a..33b51673d 100644 --- a/configs/baremetal_test.h +++ b/configs/baremetal_test.h @@ -45,4 +45,7 @@ #undef MBEDTLS_NO_PLATFORM_ENTROPY +#undef MBEDTLS_ENTROPY_MAX_SOURCES +#define MBEDTLS_ENTROPY_MAX_SOURCES 3 + #endif /* MBEDTLS_BAREMETAL_USER_CONFIG_H */