Skip to content

Commit c6f5db2

Browse files
de-nordicnvlsianpu
authored andcommitted
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 <[email protected]>
1 parent 0674798 commit c6f5db2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot/bootutil/src/image_ed25519.c

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifdef MCUBOOT_SIGN_ED25519
1313
#include "bootutil/sign_key.h"
1414

15+
/* We are not really using the MBEDTLS but need the ASN.1 parsing functions */
16+
#define MBEDTLS_ASN1_PARSE_C
1517
#include "mbedtls/oid.h"
1618
#include "mbedtls/asn1.h"
1719

0 commit comments

Comments
 (0)