Fix issue
This commit is contained in:
parent
aa97d28657
commit
24f8f8f842
@ -237,7 +237,7 @@ fn refresh_crl(d: &CertData) -> anyhow::Result<()> {
|
||||
|
||||
// Check if revocation is un-needed
|
||||
let next_update = crl.next_update().ok_or(PKIError::MissingCRLNextUpdate)?;
|
||||
if next_update.compare(Asn1Time::days_from_now(0)?.as_ref())? < Ordering::Greater {
|
||||
if next_update.compare(Asn1Time::days_from_now(0)?.as_ref())? == Ordering::Greater {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user