Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-12-05 18:54:23 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-12-05 18:54:23 +0300
commitf62959c5da83f0ca84f1e9f78e39a3273034d81f (patch)
treeded0a3f7c3e3ec26f86c47bd43da3fd57417aeb5 /client/dial.go
parentd09529276173e55eec782033fb7441d46d050d4c (diff)
Fix TLS client code on macOS
Diffstat (limited to 'client/dial.go')
-rw-r--r--client/dial.go4
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
}