Skip to content

Commit 86acda9

Browse files
taltenbachd3zd3z
authored andcommitted
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 <[email protected]>
1 parent a706317 commit 86acda9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/fiat/src/curve25519.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@
2727
//
2828
// The field functions are shared by Ed25519 and X25519 where possible.
2929

30-
#include <assert.h>
3130
#include <string.h>
3231
#include <stdint.h>
3332

34-
#include <mcuboot_config/mcuboot_config.h>
33+
#include <bootutil/bootutil_public.h>
3534

3635
#if defined(MCUBOOT_USE_MBED_TLS)
3736
#include <mbedtls/platform_util.h>

0 commit comments

Comments
 (0)