Skip to content

Commit 6e77f30

Browse files
hyperfinitismJuergenReppSIT
authored andcommitted
chore(tpm2_getekcertificate): fix "certficate" typos
Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
1 parent 04c8b56 commit 6e77f30

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/tpm2_getekcertificate.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct tpm_getekcertificate_ctx {
128128
bool is_cert_on_nv;
129129
tpm_manufacturer manufacturer;
130130
bool is_tpmgeneratedeps;
131-
// Certficate data handling
131+
// Certificate data handling
132132
size_t cert_count;
133133
size_t nv_cert_count;
134134
char *ec_cert_paths[ARRAY_LEN(ek_index_maps)];
@@ -965,7 +965,7 @@ tool_rc get_tpm_properties(ESYS_CONTEXT *ectx) {
965965
ctx.manufacturer = capability_data->data.tpmProperties.tpmProperty[0].value;
966966

967967
if (ctx.manufacturer == VENDOR_IBMSIM) {
968-
LOG_WARN("The TPM device is a simulator —— Inspect the certficate chain and root certificate");
968+
LOG_WARN("The TPM device is a simulator —— Inspect the certificate chain and root certificate");
969969
}
970970

971971
free(capability_data);
@@ -1274,7 +1274,7 @@ static tool_rc process_output(void) {
12741274
}
12751275

12761276
if (ctx.cert_count < ctx.nv_cert_count) {
1277-
LOG_WARN("Found %zu certficates on NV. Add another -o to save all certificates",
1277+
LOG_WARN("Found %zu certificates on NV. Add another -o to save all certificates",
12781278
ctx.nv_cert_count);
12791279
}
12801280

0 commit comments

Comments
 (0)