Skip to content

Commit

Permalink
pe: Attribute certificate revisions are non-exhaustive
Browse files Browse the repository at this point in the history
Excerpt of https://learn.microsoft.com/en-us/windows/win32/debug/pe-format

> The options for the WIN_CERTIFICATE wRevision member
> include *(but are not limited to)* the following.

Emphasis mine.
  • Loading branch information
RaitoBezarius committed Sep 14, 2023
1 parent 83ce901 commit 8b0ac47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pe/certificate_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use alloc::string::ToString;
use alloc::vec::Vec;

#[repr(u16)]
#[non_exhaustive]
#[derive(Debug, PartialEq, Copy, Clone)]
pub enum AttributeCertificateRevision {
/// WIN_CERT_REVISION_1_0
Expand Down

0 comments on commit 8b0ac47

Please sign in to comment.