tlsutil: remove unused UseTLS field

This commit is contained in:
Daniel Nephin 2020-10-14 16:12:47 -04:00
parent 87793cd090
commit 06f8674cb6
1 changed files with 2 additions and 4 deletions

View File

@ -13,8 +13,9 @@ import (
"sync" "sync"
"time" "time"
"github.com/hashicorp/consul/logging"
"github.com/hashicorp/go-hclog" "github.com/hashicorp/go-hclog"
"github.com/hashicorp/consul/logging"
) )
// ALPNWrapper is a function that is used to wrap a non-TLS connection and // ALPNWrapper is a function that is used to wrap a non-TLS connection and
@ -80,9 +81,6 @@ type Config struct {
// cannot break existing clients. // cannot break existing clients.
VerifyServerHostname bool VerifyServerHostname bool
// UseTLS is used to enable outgoing TLS connections to Consul servers.
UseTLS bool
// CAFile is a path to a certificate authority file. This is used with // CAFile is a path to a certificate authority file. This is used with
// VerifyIncoming or VerifyOutgoing to verify the TLS connection. // VerifyIncoming or VerifyOutgoing to verify the TLS connection.
CAFile string CAFile string