Skip to content

Commit

Permalink
acme/autocert: remove unused listener struct field
Browse files Browse the repository at this point in the history
Change-Id: Ie7f4848d7388811bdcf1937eab9d603de64d6e96
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/219220
Run-TryBot: Brad Fitzpatrick <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Filippo Valsorda <[email protected]>
  • Loading branch information
bradfitz committed Feb 14, 2020
1 parent 86ce3cb commit 1d94cc7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions acme/autocert/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,13 @@ func NewListener(domains ...string) net.Listener {
// the Manager m's Prompt, Cache, HostPolicy, and other desired options.
func (m *Manager) Listener() net.Listener {
ln := &listener{
m: m,
conf: m.TLSConfig(),
}
ln.tcpListener, ln.tcpListenErr = net.Listen("tcp", ":443")
return ln
}

type listener struct {
m *Manager
conf *tls.Config

tcpListener net.Listener
Expand Down

0 comments on commit 1d94cc7

Please sign in to comment.