aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/hashicorp/go-rootcerts/rootcerts_base.go
blob: 66b1472c4a0434e663395afd08e6559e6e10e9ac (plain)
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
}