blob: 66b1472c4a0434e663395afd08e6559e6e10e9ac [file] [log] [blame]
William Kurkianea869482019-04-09 15:16:11 -04001// +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}