Skip to content

Commit aeee92c

Browse files
authored
cmpv2: make PkiFailureInfoValues a u32; fix BadTime variant (#1824)
1 parent a9b80c6 commit aeee92c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmpv2/src/status.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ flags! {
122122
///
123123
/// [RFC 4210 Section 5.2.3]: https://www.rfc-editor.org/rfc/rfc4210#section-5.2.3
124124
#[allow(missing_docs)]
125-
pub enum PkiFailureInfoValues: u16 {
125+
pub enum PkiFailureInfoValues: u32 {
126126
BadAlg = 0,
127127
BadMessageCheck = 1,
128128
BadRequest = 2,
129-
BadTime = 2,
129+
BadTime = 3,
130130
BadCertId = 4,
131131
BadDataFormat = 5,
132132
WrongAuthority = 6,

0 commit comments

Comments
 (0)