mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:41:54 +00:00
Fix linter warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user