William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 1 | // +build !darwin |
2 | |||||
3 | package rootcerts | ||||
4 | |||||
5 | import "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. | ||||
10 | func LoadSystemCAs() (*x509.CertPool, error) { | ||||
11 | return nil, nil | ||||
12 | } |