diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-07-05 18:12:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 18:12:25 -0600 |
commit | 412dcc07d3201561302bc20b6200d893aee69657 (patch) | |
tree | fa52315c153c528bc053a0e52a26916e043973b4 /modules/caddytls/tls.go | |
parent | 660c59b6f3c138ce1a143ea864225ba177005e8e (diff) |
caddytls: Reuse issuer between PreCheck and Issue (#4866)
This enables EAB reuse for ZeroSSLIssuer (which is now supported by ZeroSSL).
Diffstat (limited to 'modules/caddytls/tls.go')
-rw-r--r-- | modules/caddytls/tls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go index 9fe30fe..429b24c 100644 --- a/modules/caddytls/tls.go +++ b/modules/caddytls/tls.go @@ -336,7 +336,7 @@ func (t *TLS) HandleHTTPChallenge(w http.ResponseWriter, r *http.Request) bool { for _, iss := range ap.magic.Issuers { if am, ok := iss.(acmeCapable); ok { iss := am.GetACMEIssuer() - if certmagic.NewACMEIssuer(iss.magic, iss.template).HandleHTTPChallenge(w, r) { + if iss.issuer.HandleHTTPChallenge(w, r) { return true } } |