From: Janis Streib Date: Thu, 4 Jun 2015 22:20:20 +0000 (+0200) Subject: UPD: Don't count revoked 'valid' certs as valid X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=f0b9b09f6cc96110ec0974d085bd05bef403a9c6 UPD: Don't count revoked 'valid' certs as valid --- diff --git a/src/org/cacert/gigi/pages/admin/support/SupportRevokeCertificatesForm.java b/src/org/cacert/gigi/pages/admin/support/SupportRevokeCertificatesForm.java index 46414422..32f52254 100644 --- a/src/org/cacert/gigi/pages/admin/support/SupportRevokeCertificatesForm.java +++ b/src/org/cacert/gigi/pages/admin/support/SupportRevokeCertificatesForm.java @@ -69,6 +69,7 @@ public class SupportRevokeCertificatesForm extends Form { } if (certs[i].getStatus() == CertificateStatus.REVOKED) { revoked++; + continue; } certs[i].cert().checkValidity(); lastExpire = Math.max(lastExpire, certs[i].cert().getNotAfter().getTime());