mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-28 12:55:57 +03:00
parent
3ba9e143a2
commit
3e9e7555ef
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue