Lukasz Jagiello 6dc872cd10 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
..
2018-08-21 11:20:57 -04:00
2018-08-21 11:20:57 -04:00
2018-06-15 15:32:25 -04:00
2018-04-05 11:49:21 -04:00
2018-08-21 11:20:57 -04:00
2018-08-21 11:20:57 -04:00
2017-05-03 10:12:58 -04:00