Commit a01ca4cf authored by Dominik Ermel's avatar Dominik Ermel Committed by Jamie
Browse files

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: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 4535ad98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@
#define MBEDTLS_ASN1_PARSE_C
#include "mbedtls/oid.h"
#include "mbedtls/asn1.h"
#include "bootutil/crypto/common.h"
#endif

#include "bootutil_priv.h"
#include "bootutil/crypto/common.h"
#include "bootutil/crypto/sha.h"

#define EDDSA_SIGNATURE_LENGTH 64