From 1ea2e07edbc1f7122e5b8c63cf37a255b9d9cccb Mon Sep 17 00:00:00 2001 From: Dominik Ermel Date: Wed, 22 Jan 2025 15:58:21 +0000 Subject: [PATCH] bootutil: Add missing MBEDTLS_ASN1_PARSE_C Need to define MBEDTLS_ASN1_PARSE_C to be able to see ASN1 functions declarations from mbedTLS. Signed-off-by: Dominik Ermel --- boot/bootutil/src/image_ed25519.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/bootutil/src/image_ed25519.c b/boot/bootutil/src/image_ed25519.c index 0d5e66df0..4e2423a08 100644 --- a/boot/bootutil/src/image_ed25519.c +++ b/boot/bootutil/src/image_ed25519.c @@ -12,6 +12,8 @@ #ifdef MCUBOOT_SIGN_ED25519 #include "bootutil/sign_key.h" +/* We are not really using the MBEDTLS but need the ASN.1 parsing functions */ +#define MBEDTLS_ASN1_PARSE_C #include "mbedtls/oid.h" #include "mbedtls/asn1.h"