Fix linter warnings

This commit is contained in:
Michael Eischer
2025-09-21 21:58:29 +02:00
parent 575eac8d80
commit 60d80a6127
13 changed files with 24 additions and 29 deletions

View File

@@ -45,10 +45,7 @@ func readPEMCertKey(filename string) (certs []byte, key []byte, err error) {
}
var block *pem.Block
for {
if len(data) == 0 {
break
}
for len(data) > 0 {
block, data = pem.Decode(data)
if block == nil {
break