blob: 9ca974539a774083728f717d37f86125393991f1 [file] [log] [blame]
David K. Bainbridge215e0242017-09-05 23:18:24 -07001// +build !go1.7
2
3package tlsconfig
4
5import (
6 "crypto/x509"
7
8)
9
10// SystemCertPool returns an new empty cert pool,
11// accessing system cert pool is supported in go 1.7
12func SystemCertPool() (*x509.CertPool, error) {
13 return x509.NewCertPool(), nil
14}