Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 12:00 UTC
Fix lint error about deprecated method in smallstep/certificates/authority
Matthew Holt committed
May 20, 2024 at 10:56 UTC
73e094e1ddce4504971136d766fd70065a130f24
1 file changed
+1
-1
modules/caddytls/internalissuer.go
+1
-1
@@ -129,7 +129,7 @@ func (iss InternalIssuer) Issue(ctx context.Context, csr *x509.CertificateReques
129
)
130
}
131
132
- certChain, err := auth.Sign(csr, provisioner.SignOptions{}, customCertLifetime(caddy.Duration(lifetime)))
132
+ certChain, err := auth.SignWithContext(ctx, csr, provisioner.SignOptions{}, customCertLifetime(caddy.Duration(lifetime)))
133
if err != nil {
134
return nil, err
135
}