1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
Build was broken with commit 50961ec.
This commit is contained in:
Ingo Gottwald 2019-09-07 22:25:04 +02:00 committed by Matt Holt
parent 3ba9e143a2
commit 3e9e7555ef

View file

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