Skip to content

Commit 0d9de63

Browse files
Gowri Ramshankarnordicjm
authored andcommitted
bootutil: src: image_validate.c: remove mbedtls headers
removing direct inclusion of mbedtls headers. bootutil has already abstracted away mbedtls apis. Signed-off-by: Gowri Ramshankar <[email protected]>
1 parent 557f84b commit 0d9de63

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

boot/bootutil/src/image_validate.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#include <string.h>
3333
#include <errno.h>
3434

35+
#include <limits.h>
36+
3537
#include <flash_map_backend/flash_map_backend.h>
3638

3739
#include "bootutil/image.h"
@@ -48,13 +50,6 @@ BOOT_LOG_MODULE_DECLARE(mcuboot);
4850
#ifdef MCUBOOT_ENC_IMAGES
4951
#include "bootutil/enc_key.h"
5052
#endif
51-
#if defined(MCUBOOT_SIGN_RSA)
52-
#include "mbedtls/rsa.h"
53-
#endif
54-
#if defined(MCUBOOT_SIGN_EC256)
55-
#include "mbedtls/ecdsa.h"
56-
#endif
57-
5853
#include "bootutil_priv.h"
5954

6055
/*

0 commit comments

Comments
 (0)