mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-18 21:29:50 +00:00
91774fc936
Uses github.com/libopenstorage/secrets to communicate with Vault. This removes the need for maintaining our own limited Vault APIs. By adding the new dependency, several other packages got updated in the process. Unused indirect dependencies have been removed from go.mod. Signed-off-by: Niels de Vos <ndevos@redhat.com>
13 lines
302 B
Go
13 lines
302 B
Go
// +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
|
|
}
|