Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information