From 6be48a95533c6060b19e917490e2b0895fae63dc Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Thu, 29 Aug 2024 07:58:06 +0200 Subject: [PATCH] Remove outdated comment Signed-off-by: Slavek Kabrda --- pkg/repo/repo.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/repo/repo.go b/pkg/repo/repo.go index 5bf81182e..f3d456416 100644 --- a/pkg/repo/repo.go +++ b/pkg/repo/repo.go @@ -351,7 +351,6 @@ func certChainToCertificateAuthority(certChainPem []byte) (*root.CertificateAuth rest := bytes.TrimSpace(certChainPem) certChain := []*x509.Certificate{} - // skip potential whitespace at end of file (8 is kinda random, but seems to work fine) for len(rest) > 0 { var derCert *pem.Block derCert, rest = pem.Decode(rest)