Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
Fix build (#2740)
Build was broken with commit 50961ec.
Ingo Gottwald committed
Sep 7, 2019 at 22:25 UTC
3e9e7555ef88ca42f3fa949473135d50096e28fc
1 file changed
+1
-1
modules/caddyhttp/server.go
+1
-1
@@ -183,7 +183,7 @@ func (s *Server) listenersUseAnyPortOtherThan(otherPort int) bool {
183
184
func (s *Server) hasTLSClientAuth() bool {
185
for _, cp := range s.TLSConnPolicies {
186
- if cp.Active() {
186
+ if cp.ClientAuthentication != nil && cp.ClientAuthentication.Active() {
187
return true
188
}
189
}