From 86acda9ed4dc9b6f13c423b5568508302eb1aa83 Mon Sep 17 00:00:00 2001 From: Thomas Altenbach Date: Tue, 2 Jan 2024 14:50:51 +0100 Subject: [PATCH] ext: fiat: Use user-defined assert macro The libc assert macro was used in curve25519.c even if the user provided its own definition of the assert macro for MCUboot through mcuboot_assert.h. This commit fixes this issue. Signed-off-by: Thomas Altenbach --- ext/fiat/src/curve25519.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/fiat/src/curve25519.c b/ext/fiat/src/curve25519.c index 58abb08f..765e0ca6 100644 --- a/ext/fiat/src/curve25519.c +++ b/ext/fiat/src/curve25519.c @@ -27,11 +27,10 @@ // // The field functions are shared by Ed25519 and X25519 where possible. -#include #include #include -#include +#include #if defined(MCUBOOT_USE_MBED_TLS) #include