mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-20 11:34:20 +00:00
cert_create: Remove references to TBBR in common code
In preparation of supporting alternate chains of trust, reword comments and error messages that explicitly mentioned TBBR. Change-Id: I85a0b08e16d0cd82f3b767fcc092d1f20f45939f Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
This commit is contained in:
parent
43743ea57d
commit
067f7e9c52
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -33,11 +33,11 @@ DECLARE_ASN1_FUNCTIONS(HASH)
|
||||||
IMPLEMENT_ASN1_FUNCTIONS(HASH)
|
IMPLEMENT_ASN1_FUNCTIONS(HASH)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function adds the TBB extensions to the internal extension list
|
* This function adds the CoT extensions to the internal extension list
|
||||||
* maintained by OpenSSL so they can be used later.
|
* maintained by OpenSSL so they can be used later.
|
||||||
*
|
*
|
||||||
* It also initializes the methods to print the contents of the extension. If an
|
* It also initializes the methods to print the contents of the extension. If an
|
||||||
* alias is specified in the TBB extension, we reuse the methods of the alias.
|
* alias is specified in the CoT extension, we reuse the methods of the alias.
|
||||||
* Otherwise, only methods for V_ASN1_INTEGER and V_ASN1_OCTET_STRING are
|
* Otherwise, only methods for V_ASN1_INTEGER and V_ASN1_OCTET_STRING are
|
||||||
* provided. Any other type will be printed as a raw ascii string.
|
* provided. Any other type will be printed as a raw ascii string.
|
||||||
*
|
*
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
do { \
|
do { \
|
||||||
v = OBJ_txt2nid(oid); \
|
v = OBJ_txt2nid(oid); \
|
||||||
if (v == NID_undef) { \
|
if (v == NID_undef) { \
|
||||||
ERROR("Cannot find TBB extension %s\n", oid); \
|
ERROR("Cannot find extension %s\n", oid); \
|
||||||
exit(1); \
|
exit(1); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
@ -335,7 +335,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
/* Initialize the new types and register OIDs for the extensions */
|
/* Initialize the new types and register OIDs for the extensions */
|
||||||
if (ext_init() != 0) {
|
if (ext_init() != 0) {
|
||||||
ERROR("Cannot initialize TBB extensions\n");
|
ERROR("Cannot initialize extensions\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue