Retro68/gcc/libgo/go/crypto/x509/root_bsd.go

23 lines
748 B
Go
Raw Normal View History

2017-04-10 11:32:00 +00:00
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build dragonfly || freebsd || netbsd || openbsd
2017-04-10 11:32:00 +00:00
package x509
// Possible certificate files; stop after finding one.
var certFiles = []string{
2018-12-28 15:30:48 +00:00
"/usr/local/etc/ssl/cert.pem", // FreeBSD
2017-04-10 11:32:00 +00:00
"/etc/ssl/cert.pem", // OpenBSD
2018-12-28 15:30:48 +00:00
"/usr/local/share/certs/ca-root-nss.crt", // DragonFly
2017-04-10 11:32:00 +00:00
"/etc/openssl/certs/ca-certificates.crt", // NetBSD
}
// Possible directories with certificate files; all will be read.
var certDirectories = []string{
"/etc/ssl/certs", // FreeBSD 12.2+
"/usr/local/share/certs", // FreeBSD
"/etc/openssl/certs", // NetBSD
}