blob: 66b1472c4a0434e663395afd08e6559e6e10e9ac [file] [log] [blame]
divyadesai81bb7ba2020-03-11 11:45:23 +00001// +build !darwin
2
3package rootcerts
4
5import "crypto/x509"
6
7// LoadSystemCAs does nothing on non-Darwin systems. We return nil so that
8// default behavior of standard TLS config libraries is triggered, which is to
9// load system certs.
10func LoadSystemCAs() (*x509.CertPool, error) {
11 return nil, nil
12}