diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-16 13:18:25 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-16 13:18:25 +0100 |
commit | a46efb48a9db0a221ed9698cf4dbf814b9d6528a (patch) | |
tree | 75c555b5b660f3bf311913e2f14eb759bd647035 /x509util | |
parent | d8950a4e5c2f46a476483354135c2501e7f9aef5 (diff) |
added test data
Diffstat (limited to 'x509util')
-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) |