From a9ad39b88d72b7cfb70c64021791324501c73df7 Mon Sep 17 00:00:00 2001 From: Ondrej Mikle Date: Mon, 21 Nov 2022 14:54:36 +0100 Subject: [PATCH] chore(legacy): typos and style --- legacy/fw_signatures.c | 1 - legacy/fw_signatures.h | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/fw_signatures.c b/legacy/fw_signatures.c index d940dcc6c6..4317f8b9b2 100644 --- a/legacy/fw_signatures.c +++ b/legacy/fw_signatures.c @@ -85,7 +85,6 @@ static const uint8_t * const pubkey_v2[PUBKEYS] = { // These public keys are production keys // - used in production devices -// - used in debug non-production builds for QA testing // the "SignMessage"-style public keys, third signing scheme static const uint8_t * const pubkey_v3[PUBKEYS] = { diff --git a/legacy/fw_signatures.h b/legacy/fw_signatures.h index 8d32e9fa7b..ab2a450bfe 100644 --- a/legacy/fw_signatures.h +++ b/legacy/fw_signatures.h @@ -106,8 +106,9 @@ void compute_firmware_fingerprint_for_verifymessage(const image_header *hdr, */ int signatures_ok(const image_header *hdr, uint8_t store_fingerprint[32], bool use_verifymessage); + /** - * Check is either v2 or v3 signature of header is valid. + * Check if either v2 or v3 signature of header is valid. * * Stored fingerprint is the "of v2 scheme" which we still display as hash * and use as "firmware hash".