crl-updater: Fix lookback period for GetRevokedCertsByShard
diff --git a/crl/updater/updater.go b/crl/updater/updater.go index 237fbd9..91cc02d 100644 --- a/crl/updater/updater.go +++ b/crl/updater/updater.go
@@ -314,7 +314,7 @@ // Query for unexpired certificates, with padding to ensure that revoked certificates show // up in at least one CRL, even if they expire between revocation and CRL generation. - expiresAfter := cu.clk.Now().Add(cu.lookbackPeriod) + expiresAfter := cu.clk.Now().Add(-1 * cu.lookbackPeriod) saStream, err := cu.sa.GetRevokedCertsByShard(ctx, &sapb.GetRevokedCertsByShardRequest{ IssuerNameID: int64(issuerNameID),