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{} crl := &x509.RevocationList{}
loadCrl := func() error { loadCrl := func() error {
crlCandiate, loadCrlError := loadCrlFromFile(config.crlSourceFile.path) curlCandidate, loadCrlError := loadCrlFromFile(config.crlSourceFile.path)
if loadCrlError != nil { if loadCrlError != nil {
return loadCrlError return loadCrlError
} }
metrics.CrlEntries.Set(float64(len(crlCandiate.RevokedCertificateEntries))) metrics.CrlEntries.Set(float64(len(curlCandidate.RevokedCertificateEntries)))
source.UseCrl(*crlCandiate) source.UseCrl(*curlCandidate)
crl = crlCandiate crl = curlCandidate
return nil return nil
} }