76008b2e1e
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. |
||
---|---|---|
.. | ||
audit | ||
credential | ||
logical | ||
plugin |