From 067f7e9c52f5aa19bac2cb91a96e6e4f9dee6cb9 Mon Sep 17 00:00:00 2001 From: Sandrine Bailleux <sandrine.bailleux@arm.com> Date: Wed, 15 Jan 2020 11:01:25 +0100 Subject: [PATCH] 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> --- tools/cert_create/src/ext.c | 6 +++--- tools/cert_create/src/main.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/cert_create/src/ext.c b/tools/cert_create/src/ext.c index 57fb47d1d..d9a92bb10 100644 --- a/tools/cert_create/src/ext.c +++ b/tools/cert_create/src/ext.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 */ @@ -33,11 +33,11 @@ DECLARE_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. * * 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 * provided. Any other type will be printed as a raw ascii string. * diff --git a/tools/cert_create/src/main.c b/tools/cert_create/src/main.c index 863db7b6e..2ba110132 100644 --- a/tools/cert_create/src/main.c +++ b/tools/cert_create/src/main.c @@ -47,7 +47,7 @@ do { \ v = OBJ_txt2nid(oid); \ if (v == NID_undef) { \ - ERROR("Cannot find TBB extension %s\n", oid); \ + ERROR("Cannot find extension %s\n", oid); \ exit(1); \ } \ } while (0) @@ -335,7 +335,7 @@ int main(int argc, char *argv[]) /* Initialize the new types and register OIDs for the extensions */ if (ext_init() != 0) { - ERROR("Cannot initialize TBB extensions\n"); + ERROR("Cannot initialize extensions\n"); exit(1); } -- GitLab