File: rootcerts_base.go

package info (click to toggle)
golang-github-hashicorp-go-rootcerts 0.0~git20160503.0.6bb64b3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 112 kB
  • ctags: 26
  • sloc: makefile: 9
file content (12 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (4)
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
}