open-vault/builtin
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
..
audit Switch to strings.EqualFold (#5284) 2018-09-11 16:22:29 -07:00
credential Update path_role.go (#5820) 2018-11-19 13:40:36 -08:00
logical Remove an empty line for /pki/ca_chain (#5779) 2018-12-12 15:38:35 -05:00
plugin Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00