aboutsummaryrefslogtreecommitdiff
path: root/contrib/libfido2/src/tpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libfido2/src/tpm.c')
-rw-r--r--contrib/libfido2/src/tpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libfido2/src/tpm.c b/contrib/libfido2/src/tpm.c
index 74244f8cbf08..3e09bca00ffb 100644
--- a/contrib/libfido2/src/tpm.c
+++ b/contrib/libfido2/src/tpm.c
@@ -2,6 +2,7 @@
* Copyright (c) 2021 Yubico AB. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
+ * SPDX-License-Identifier: BSD-2-Clause
*/
/*
@@ -47,7 +48,7 @@ struct tpm_sha256_digest {
/* Part 2, 10.4.3: TPM2B_DATA */
PACKED_TYPE(tpm_sha1_data_t,
struct tpm_sha1_data {
- uint16_t size; /* sizeof(body */
+ uint16_t size; /* sizeof(body) */
uint8_t body[20];
})