Skip to content

Commit da2ae88

Browse files
de-nordicnvlsianpu
authored andcommitted
[nrf fromtree] bootutil: Fix ASN1 bypass not building
One of includes is not available when bypassing ASN1 encoding as mbedTLS is no longer enabled for compilation. Discovered with zephyr, but common for other platforms, after recent changes in CMakeLists.txt. Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit a01ca4c)
1 parent 5f21ef3 commit da2ae88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/bootutil/src/image_ed25519.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
#define MBEDTLS_ASN1_PARSE_C
1919
#include "mbedtls/oid.h"
2020
#include "mbedtls/asn1.h"
21+
#include "bootutil/crypto/common.h"
2122
#endif
2223

2324
#include "bootutil_priv.h"
24-
#include "bootutil/crypto/common.h"
2525
#include "bootutil/crypto/sha.h"
2626

2727
#define EDDSA_SIGNATURE_LENGTH 64

0 commit comments

Comments
 (0)