From 6f2f97309ee53724e572f71a40d36cbb071b7816 Mon Sep 17 00:00:00 2001 From: Jeff Andersen Date: Tue, 5 Sep 2023 13:02:26 -0700 Subject: [PATCH] Correct comments for not-before / not-after fields. (#705) These apply to FMC alias certs, not LDevID certs. --- image/types/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/image/types/src/lib.rs b/image/types/src/lib.rs index a2f9886337..ddbcbc13e7 100644 --- a/image/types/src/lib.rs +++ b/image/types/src/lib.rs @@ -272,10 +272,10 @@ pub struct ImagePreamble { #[repr(C)] #[derive(AsBytes, Clone, Copy, FromBytes, Default, Debug)] pub struct VendorSignedData { - /// Vendor Start Date [ASN1 Time Format] For LDEV-Id certificate. + /// Vendor Start Date [ASN1 Time Format] For FMC alias certificate. pub vendor_not_before: [u8; 15], - /// Vendor End Date [ASN1 Time Format] For LDEV-Id certificate. + /// Vendor End Date [ASN1 Time Format] For FMC alias certificate. pub vendor_not_after: [u8; 15], reserved: [u8; 2], @@ -284,10 +284,10 @@ pub struct VendorSignedData { #[repr(C)] #[derive(AsBytes, Clone, Copy, FromBytes, Default, Debug)] pub struct OwnerSignedData { - /// Owner Start Date [ASN1 Time Format] For LDEV-Id certificate: Takes Preference over vendor start date + /// Owner Start Date [ASN1 Time Format] For FMC alias certificate: Takes Preference over vendor start date pub owner_not_before: [u8; 15], - /// Owner End Date [ASN1 Time Format] For LDEV-Id certificate: Takes Preference over vendor end date + /// Owner End Date [ASN1 Time Format] For FMC alias certificate: Takes Preference over vendor end date pub owner_not_after: [u8; 15], reserved: [u8; 2],