mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-08 05:43:53 +00:00
fix(marvell-tools): include mbedtls/version.h before use
mbedtls/version.h needs to be included before the use of any
mbedtls config variables.
Fixes a build failure regression from commit a8eadc51a
.
Change-Id: Idd955d7955b0a55ffd127f31053335542cb15e22
Signed-off-by: Henrik Nordstrom <henrik.nordstrom@addiva.se>
This commit is contained in:
parent
c9484b4f24
commit
8eb4efe70b
2 changed files with 4 additions and 1 deletions
|
@ -1369,6 +1369,9 @@ subsections:
|
|||
deprecated:
|
||||
- cert_create
|
||||
|
||||
- title: Marvell Tools
|
||||
scope: marvell-tools
|
||||
|
||||
- title: Dependencies
|
||||
scope: deps
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <libconfig.h> /* for parsing config file */
|
||||
|
||||
/* mbedTLS stuff */
|
||||
#include <mbedtls/version.h>
|
||||
#if defined(MBEDTLS_BIGNUM_C) && defined(MBEDTLS_ENTROPY_C) && \
|
||||
defined(MBEDTLS_SHA256_C) && \
|
||||
defined(MBEDTLS_PK_PARSE_C) && defined(MBEDTLS_FS_IO) && \
|
||||
|
@ -28,7 +29,6 @@
|
|||
#include <mbedtls/md.h>
|
||||
#include <mbedtls/pk.h>
|
||||
#include <mbedtls/sha256.h>
|
||||
#include <mbedtls/version.h>
|
||||
#include <mbedtls/x509.h>
|
||||
#else
|
||||
#error "Bad mbedTLS configuration!"
|
||||
|
|
Loading…
Add table
Reference in a new issue