Browse Source

Fix build (#2740)

Build was broken with commit 50961ec.
master
Ingo Gottwald 6 years ago
committed by Matt Holt
parent
commit
3e9e7555ef
  1. 2
      modules/caddyhttp/server.go

2
modules/caddyhttp/server.go

@ -183,7 +183,7 @@ func (s *Server) listenersUseAnyPortOtherThan(otherPort int) bool {
func (s *Server) hasTLSClientAuth() bool { func (s *Server) hasTLSClientAuth() bool {
for _, cp := range s.TLSConnPolicies { for _, cp := range s.TLSConnPolicies {
if cp.Active() { if cp.ClientAuthentication != nil && cp.ClientAuthentication.Active() {
return true return true
} }
} }

Loading…
Cancel
Save