Skip to content

Commit

Permalink
Correct comments for not-before / not-after fields. (#705)
Browse files Browse the repository at this point in the history
These apply to FMC alias certs, not LDevID certs.
  • Loading branch information
bluegate010 authored Sep 5, 2023
1 parent 9ca508f commit 6f2f973
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions image/types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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],
Expand Down

0 comments on commit 6f2f973

Please sign in to comment.