mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-30 15:58:10 +08:00
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user