diff options
Diffstat (limited to 'client/dial.go')
-rw-r--r-- | client/dial.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/dial.go b/client/dial.go index e8a3a5f44..d0a51c0c1 100644 --- a/client/dial.go +++ b/client/dial.go @@ -1,8 +1,6 @@ package client import ( - "crypto/x509" - "google.golang.org/grpc/credentials" "net/url" @@ -21,7 +19,7 @@ func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, erro } if isTLS(rawAddress) { - certPool, err := x509.SystemCertPool() + certPool, err := systemCertPool() if err != nil { return nil, err } |