Skip to content

Commit

Permalink
Restrict ArchiveCutoff OID
Browse files Browse the repository at this point in the history
  • Loading branch information
bhesh committed Nov 20, 2023
1 parent bef4142 commit 6ef03c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x509-ocsp/src/ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,9 @@ impl AssociatedOid for AcceptableResponses {
/// ```
///
/// [RFC 6960 Section 4.4.4]: https://datatracker.ietf.org/doc/html/rfc6960#section-4.4.4
pub type ArchiveCutoff = OcspGeneralizedTime;
pub struct ArchiveCutoff(pub OcspGeneralizedTime);

impl_newtype!(ArchiveCutoff, OcspGeneralizedTime);
impl_extension!(ArchiveCutoff, critical = false);

impl AssociatedOid for ArchiveCutoff {
Expand Down

0 comments on commit 6ef03c8

Please sign in to comment.