Skip to content

Commit

Permalink
Fixed clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
bhesh committed Oct 25, 2023
1 parent 478cde4 commit 145c704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x509-ocsp/src/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl From<RevokedCert> for RevokedInfo {
Self {
revocation_time: match rc.revocation_date {
Time::UtcTime(t) => GeneralizedTime::from_date_time(t.to_date_time()),
Time::GeneralTime(t) => t.clone(),
Time::GeneralTime(t) => t,
},
revocation_reason: if let Some(extensions) = &rc.crl_entry_extensions {
let mut filter = extensions
Expand All @@ -238,7 +238,7 @@ impl From<&RevokedCert> for RevokedInfo {
Self {
revocation_time: match rc.revocation_date {
Time::UtcTime(t) => GeneralizedTime::from_date_time(t.to_date_time()),
Time::GeneralTime(t) => t.clone(),
Time::GeneralTime(t) => t,
},
revocation_reason: if let Some(extensions) = &rc.crl_entry_extensions {
let mut filter = extensions
Expand Down

0 comments on commit 145c704

Please sign in to comment.