mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-24 18:29:52 +00:00
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>
This commit is contained in:
parent
743600b25c
commit
ba1eaabfff
@ -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
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
@ -15,12 +15,6 @@
|
|||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
#if USE_TBBR_DEFS
|
|
||||||
#include <tbbr_oid.h>
|
|
||||||
#else
|
|
||||||
#include <platform_oid.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "cert.h"
|
#include "cert.h"
|
||||||
#include "cmd_opt.h"
|
#include "cmd_opt.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
@ -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
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
@ -13,12 +13,6 @@
|
|||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
|
||||||
#if USE_TBBR_DEFS
|
|
||||||
#include <tbbr_oid.h>
|
|
||||||
#else
|
|
||||||
#include <platform_oid.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "cert.h"
|
#include "cert.h"
|
||||||
#include "cmd_opt.h"
|
#include "cmd_opt.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
@ -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
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
@ -19,21 +19,12 @@
|
|||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
#if USE_TBBR_DEFS
|
|
||||||
#include <tbbr_oid.h>
|
|
||||||
#else
|
|
||||||
#include <platform_oid.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "cert.h"
|
#include "cert.h"
|
||||||
#include "cmd_opt.h"
|
#include "cmd_opt.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "ext.h"
|
#include "ext.h"
|
||||||
#include "key.h"
|
#include "key.h"
|
||||||
#include "sha.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
|
* Helper macros to simplify the code. This macro assigns the return value of
|
||||||
|
Loading…
Reference in New Issue
Block a user