/usr/share/gocode/src/github.com/hashicorp/go-rootcerts/rootcerts_base.go is in golang-github-hashicorp-go-rootcerts-dev 0.0~git20160503.0.6bb64b3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | // +build !darwin
package rootcerts
import "crypto/x509"
// LoadSystemCAs does nothing on non-Darwin systems. We return nil so that
// default behavior of standard TLS config libraries is triggered, which is to
// load system certs.
func LoadSystemCAs() (*x509.CertPool, error) {
return nil, nil
}
|