open-vault/builtin/logical
Lukasz Jagiello 76008b2e1e Remove an empty line for /pki/ca_chain (#5779)
This PR fix #5778.

Easy test case to reproduce the problem:
https://play.golang.org/p/CAMdrOHT7C1

Since `certStr` is empty string during first iteration `strings.Join()`
will merge empty line with first CA cert.

Extra `strings.TrimSpace` call will remove that empty line, before
certificate will be return.
2018-12-12 15:38:35 -05:00
..
aws Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
cassandra Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
consul Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
database Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
mongodb Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
mssql Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
mysql Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
nomad Make builtin auth and secret plugins buildable (#5456) 2018-10-09 09:29:20 -07:00
pki Remove an empty line for /pki/ca_chain (#5779) 2018-12-12 15:38:35 -05:00
postgresql Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
rabbitmq Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
ssh Fix tests 2018-12-11 15:04:02 -05:00
totp Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
transit Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00