Skip to content

Commit 61d971b

Browse files
de-nordicnordicjm
authored andcommitted
[nrf fromtree] 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 <dominik.ermel@nordicsemi.no> (cherry picked from commit c6f5db2)
1 parent 9278bee commit 61d971b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

boot/bootutil/src/image_ed25519.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#ifdef MCUBOOT_SIGN_ED25519
1818
#include "bootutil/sign_key.h"
1919

20+
/* We are not really using the MBEDTLS but need the ASN.1 parsing functions */
21+
#define MBEDTLS_ASN1_PARSE_C
2022
#include "mbedtls/oid.h"
2123
#include "mbedtls/asn1.h"
2224

0 commit comments

Comments
 (0)