diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-05 18:54:23 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-12-05 18:54:23 +0300 |
commit | f62959c5da83f0ca84f1e9f78e39a3273034d81f (patch) | |
tree | ded0a3f7c3e3ec26f86c47bd43da3fd57417aeb5 /client/dial.go | |
parent | d09529276173e55eec782033fb7441d46d050d4c (diff) |
Fix TLS client code on macOS
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 } |