Skip to content

Commit

Permalink
bootutil: Add missing MBEDTLS_ASN1_PARSE_C
Browse files Browse the repository at this point in the history
Need to define MBEDTLS_ASN1_PARSE_C to be able to see ASN1
functions declarations from mbedTLS.

Signed-off-by: Dominik Ermel <[email protected]>
  • Loading branch information
de-nordic authored and nvlsianpu committed Jan 23, 2025
1 parent 0674798 commit c6f5db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boot/bootutil/src/image_ed25519.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c6f5db2

Please sign in to comment.