File: rootcerts_base.go

package info (click to toggle)
golang-github-hashicorp-go-rootcerts 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, bullseye-backports, sid, trixie
  • size: 124 kB
  • sloc: makefile: 9
file content (12 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (5)
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
}