diff options
Diffstat (limited to 'x509util/x509util.go')
-rw-r--r-- | x509util/x509util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x509util/x509util.go b/x509util/x509util.go index e67b7b5..751aa29 100644 --- a/x509util/x509util.go +++ b/x509util/x509util.go @@ -47,7 +47,7 @@ func NewCertificateList(rest []byte) ([]*x509.Certificate, error) { var block *pem.Block block, rest = pem.Decode(rest) if block == nil { - break + break // TODO: fix such that new line in input is OK? } if block.Type != "CERTIFICATE" { return nil, fmt.Errorf("unexpected pem block type: %v", block.Type) |