From dd06ffe435ef0811a8715c9de8b8663f32e3e135 Mon Sep 17 00:00:00 2001 From: "fox.cpp" Date: Sat, 27 Jan 2024 16:32:15 +0300 Subject: [PATCH] Add missing tls_client directive to ReadGlobals See #674. --- maddy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/maddy.go b/maddy.go index 9b765803..16aa0eb0 100644 --- a/maddy.go +++ b/maddy.go @@ -294,6 +294,7 @@ func ReadGlobals(cfg []config.Node) (map[string]interface{}, []config.Node, erro globals.String("hostname", false, false, "", nil) globals.String("autogenerated_msg_domain", false, false, "", nil) globals.Custom("tls", false, false, nil, tls.TLSDirective, nil) + globals.Custom("tls_client", false, false, nil, tls.TLSClientBlock, nil) globals.Bool("storage_perdomain", false, false, nil) globals.Bool("auth_perdomain", false, false, nil) globals.StringList("auth_domains", false, false, nil, nil)