Skip to content

Commit 4f2771d

Browse files
authoredMar 21, 2025··
cmpv2: fix content of PkiBody::PollReq (#1734)
1 parent 516e1d3 commit 4f2771d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cmpv2/src/body.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::ann::{CaKeyUpdAnnContent, CertAnnContent, CrlAnnContent, RevAnnConten
1010
use crate::certified_key_pair::KeyRecRepContent;
1111
use crate::gen::{GenMsgContent, GenRepContent};
1212
use crate::message::PkiMessages;
13-
use crate::poll::PollRepContent;
13+
use crate::poll::{PollRepContent, PollReqContent};
1414
use crate::pop::{PopoDecKeyChallContent, PopoDecKeyRespContent};
1515
use crate::response::CertRepMessage;
1616
use crate::rev::{RevRepContent, RevReqContent};
@@ -107,7 +107,7 @@ pub enum PkiBody<'a> {
107107
#[asn1(context_specific = "24", tag_mode = "EXPLICIT", constructed = "true")]
108108
CertConf(CertConfirmContent<'a>),
109109
#[asn1(context_specific = "25", tag_mode = "EXPLICIT", constructed = "true")]
110-
PollReq(PollRepContent<'a>),
110+
PollReq(PollReqContent),
111111
#[asn1(context_specific = "26", tag_mode = "EXPLICIT", constructed = "true")]
112112
PollRep(PollRepContent<'a>),
113113
}

0 commit comments

Comments
 (0)
Please sign in to comment.