aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2020-01-07 15:12:08 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2020-01-14 17:51:23 +0100
commitba1eaabfffa29585aeacb85d0fbc9e834af72976 (patch)
treefd81b061c65482ab1c3b7e72b13ef7e6e8d9da47 /tools
parent743600b25ccbea5733a9794241f98f2a9cdd508d (diff)
downloadplatform_external_arm-trusted-firmware-ba1eaabfffa29585aeacb85d0fbc9e834af72976.tar.gz
platform_external_arm-trusted-firmware-ba1eaabfffa29585aeacb85d0fbc9e834af72976.tar.bz2
platform_external_arm-trusted-firmware-ba1eaabfffa29585aeacb85d0fbc9e834af72976.zip
cert_create: Remove some unused header files inclusions
The chain of trust definitions are only needed in the part of the code dealing with the TBBR CoT (tbbr/* files). Change-Id: I6f9a86bba4a2d16313b6842a3ec85b7c951074bc Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/cert_create/src/cert.c8
-rw-r--r--tools/cert_create/src/key.c8
-rw-r--r--tools/cert_create/src/main.c11
3 files changed, 3 insertions, 24 deletions
diff --git a/tools/cert_create/src/cert.c b/tools/cert_create/src/cert.c
index c68a265b4..153f5557d 100644
--- a/tools/cert_create/src/cert.c
+++ b/tools/cert_create/src/cert.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -15,12 +15,6 @@
#include <openssl/sha.h>
#include <openssl/x509v3.h>
-#if USE_TBBR_DEFS
-#include <tbbr_oid.h>
-#else
-#include <platform_oid.h>
-#endif
-
#include "cert.h"
#include "cmd_opt.h"
#include "debug.h"
diff --git a/tools/cert_create/src/key.c b/tools/cert_create/src/key.c
index 0f80cce9b..fcc9d5316 100644
--- a/tools/cert_create/src/key.c
+++ b/tools/cert_create/src/key.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -13,12 +13,6 @@
#include <openssl/evp.h>
#include <openssl/pem.h>
-#if USE_TBBR_DEFS
-#include <tbbr_oid.h>
-#else
-#include <platform_oid.h>
-#endif
-
#include "cert.h"
#include "cmd_opt.h"
#include "debug.h"
diff --git a/tools/cert_create/src/main.c b/tools/cert_create/src/main.c
index 0cbd2196b..863db7b6e 100644
--- a/tools/cert_create/src/main.c
+++ b/tools/cert_create/src/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -19,21 +19,12 @@
#include <openssl/sha.h>
#include <openssl/x509v3.h>
-#if USE_TBBR_DEFS
-#include <tbbr_oid.h>
-#else
-#include <platform_oid.h>
-#endif
-
#include "cert.h"
#include "cmd_opt.h"
#include "debug.h"
#include "ext.h"
#include "key.h"
#include "sha.h"
-#include "tbbr/tbb_cert.h"
-#include "tbbr/tbb_ext.h"
-#include "tbbr/tbb_key.h"
/*
* Helper macros to simplify the code. This macro assigns the return value of