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:
Diffstat (limited to 'client/dial.go')
-rw-r--r--client/dial.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/dial.go b/client/dial.go
index e728d6dc4..68570d159 100644
--- a/client/dial.go
+++ b/client/dial.go
@@ -49,7 +49,8 @@ func DialContext(ctx context.Context, rawAddress string, connOpts []grpc.DialOpt
}
connOpts = append(connOpts, grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{
- RootCAs: certPool,
+ RootCAs: certPool,
+ MinVersion: tls.VersionTLS12,
})))
case tcpConnection: