chore: fix typo

Signed-off-by: Florian Bauer <florian@fsrv.xyz>
This commit is contained in:
Florian Bauer
2025-04-21 18:02:24 +02:00
parent ac01504487
commit a3bdfc1a9c

View File

@@ -113,13 +113,13 @@ func main() {
crl := &x509.RevocationList{}
loadCrl := func() error {
crlCandiate, loadCrlError := loadCrlFromFile(config.crlSourceFile.path)
curlCandidate, loadCrlError := loadCrlFromFile(config.crlSourceFile.path)
if loadCrlError != nil {
return loadCrlError
}
metrics.CrlEntries.Set(float64(len(crlCandiate.RevokedCertificateEntries)))
source.UseCrl(*crlCandiate)
crl = crlCandiate
metrics.CrlEntries.Set(float64(len(curlCandidate.RevokedCertificateEntries)))
source.UseCrl(*curlCandidate)
crl = curlCandidate
return nil
}