We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ea4c5e commit 4a0bed3Copy full SHA for 4a0bed3
certificates/certutils.go
@@ -77,6 +77,7 @@ func LoadCertificatesFromFile(certificateFile *paths.Path) ([]*x509.Certificate,
77
case ".pem":
78
for {
79
block, rest := pem.Decode(data)
80
+ data = rest
81
if block == nil && len(rest) > 0 {
82
return nil, fmt.Errorf("invalid .pem data")
83
}
0 commit comments