File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,15 @@ func (s *CertPool) copy() *CertPool {
47
47
48
48
// SystemCertPool returns a copy of the system cert pool.
49
49
//
50
- // Any mutations to the returned pool are not written to disk and do
51
- // not affect any other pool returned by SystemCertPool.
50
+ // On Unix systems other than macOS the environment variables SSL_CERT_FILE and
51
+ // SSL_CERT_DIR can be used to override the system default locations for the SSL
52
+ // certificate file and SSL certificate files directory, respectively. The
53
+ // latter can be a colon-separated list.
52
54
//
53
- // New changes in the system cert pool might not be reflected
54
- // in subsequent calls.
55
+ // Any mutations to the returned pool are not written to disk and do not affect
56
+ // any other pool returned by SystemCertPool.
57
+ //
58
+ // New changes in the system cert pool might not be reflected in subsequent calls.
55
59
func SystemCertPool () (* CertPool , error ) {
56
60
if runtime .GOOS == "windows" {
57
61
// Issue 16736, 18609:
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
// Package x509 parses X.509-encoded keys and certificates.
6
- //
7
- // On UNIX systems the environment variables SSL_CERT_FILE and SSL_CERT_DIR
8
- // can be used to override the system default locations for the SSL certificate
9
- // file and SSL certificate files directory, respectively.
10
6
package x509
11
7
12
8
import (
You can’t perform that action at this time.
0 commit comments