diff --git a/.travis.yml b/.travis.yml index b85988dc..1be30e69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: -- 1.14.x +- 1.13.x addons: apt: packages: diff --git a/ca/tls.go b/ca/tls.go index 2441b2d6..ca5af652 100644 --- a/ca/tls.go +++ b/ca/tls.go @@ -57,7 +57,7 @@ func (c *Client) getClientTLSConfig(ctx context.Context, sign *api.SignResponse, } // Use mutable tls.Config on renew tr.DialTLS = c.buildDialTLS(tlsCtx) //nolint:deprecated - tr.DialTLSContext = c.buildDialTLSContext(tlsCtx) + // tr.DialTLSContext = c.buildDialTLSContext(tlsCtx) renewer.RenewCertificate = getRenewFunc(tlsCtx, c, tr, pk) // Update client transport @@ -109,7 +109,7 @@ func (c *Client) GetServerTLSConfig(ctx context.Context, sign *api.SignResponse, } // Use mutable tls.Config on renew tr.DialTLS = c.buildDialTLS(tlsCtx) //nolint:deprecated - tr.DialTLSContext = c.buildDialTLSContext(tlsCtx) + // tr.DialTLSContext = c.buildDialTLSContext(tlsCtx) renewer.RenewCertificate = getRenewFunc(tlsCtx, c, tr, pk) // Update client transport