Commit 4b259128 authored by Christopher Collins's avatar Christopher Collins Committed by ccollins476ad
Browse files

boot/bootutil: Add missing #include

Mynewt builds require the `mcuboot_config.h` file to translate syscfg
setting names to MCUboot setting names.  This change fixes a build error
that occurs when MCUboot is built with mbedTLS support:

Error: In file included from keys/bootkeys/src/bootkeys.c:2:0:
repos/mcuboot/boot/bootutil/include/bootutil/enc_key.h:29:10: fatal error: tinycrypt/aes.h: No such file or directory
 #include "tinycrypt/aes.h"
          ^~~~~~~~~~~~~~~~~

Signed-off-by: default avatarChristopher Collins <ccollins@apache.org>
parent 10b5de13
Loading
Loading
Loading
Loading
+1
Changes for boot/bootutil/include/bootutil/enc_key.h: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
#define BOOTUTIL_ENC_KEY_H

#include <flash_map_backend/flash_map_backend.h>
#include "mcuboot_config/mcuboot_config.h"
#include "bootutil/image.h"

#if defined(MCUBOOT_USE_MBED_TLS)