What version of Go are you using (go version)?
1.8
What operating system and processor architecture are you using (go env)?
debian9 lxc (no certificates on the system) / amd64
What did you do?
https://play.golang.org/p/9uFYp2M6PT
What did you expect to see?
I expected to have either an error or an empty certPool
What did you see instead?
both CertPool and error are nil when there is no certificates found on the system
If you think this is the correct behavior maybe add a small warning in the documentation
Regards
Etienne
What version of Go are you using (
go version)?1.8
What operating system and processor architecture are you using (
go env)?debian9 lxc (no certificates on the system) / amd64
What did you do?
https://play.golang.org/p/9uFYp2M6PT
What did you expect to see?
I expected to have either an error or an empty certPool
What did you see instead?
both CertPool and error are nil when there is no certificates found on the system
If you think this is the correct behavior maybe add a small warning in the documentation
Regards
Etienne