summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-12 17:31:10 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-12 17:31:10 -0600
commit7799554baacbb7ca2b80f2a22968cfcd8071ab0a (patch)
tree9e6d12804765964da743153a44363bcf91254d3e /modules/caddytls
parent2cb01d43cf1647bc46e2c7a114c952925524ebe1 (diff)
go.mod: Use lego v3 and CertMagic 0.7.0
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/acmemanager.go5
-rw-r--r--modules/caddytls/connpolicy.go2
-rw-r--r--modules/caddytls/tls.go2
-rw-r--r--modules/caddytls/values.go2
4 files changed, 4 insertions, 7 deletions
diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go
index 572bbd8..b717268 100644
--- a/modules/caddytls/acmemanager.go
+++ b/modules/caddytls/acmemanager.go
@@ -20,10 +20,8 @@ import (
"net/url"
"time"
- "github.com/go-acme/lego/certcrypto"
-
"github.com/caddyserver/caddy/v2"
- "github.com/go-acme/lego/challenge"
+ "github.com/go-acme/lego/v3/challenge"
"github.com/mholt/certmagic"
)
@@ -51,7 +49,6 @@ type ACMEManagerMaker struct {
Storage json.RawMessage `json:"storage,omitempty"`
storage certmagic.Storage
- keyType certcrypto.KeyType
}
// CaddyModule returns the Caddy module information.
diff --git a/modules/caddytls/connpolicy.go b/modules/caddytls/connpolicy.go
index 16fd4f1..c952369 100644
--- a/modules/caddytls/connpolicy.go
+++ b/modules/caddytls/connpolicy.go
@@ -23,7 +23,7 @@ import (
"strings"
"github.com/caddyserver/caddy/v2"
- "github.com/go-acme/lego/challenge/tlsalpn01"
+ "github.com/go-acme/lego/v3/challenge/tlsalpn01"
"github.com/mholt/certmagic"
)
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 62ec98d..93a05be 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -22,7 +22,7 @@ import (
"time"
"github.com/caddyserver/caddy/v2"
- "github.com/go-acme/lego/challenge"
+ "github.com/go-acme/lego/v3/challenge"
"github.com/mholt/certmagic"
"golang.org/x/time/rate"
)
diff --git a/modules/caddytls/values.go b/modules/caddytls/values.go
index 533794c..21a6b33 100644
--- a/modules/caddytls/values.go
+++ b/modules/caddytls/values.go
@@ -18,7 +18,7 @@ import (
"crypto/tls"
"crypto/x509"
- "github.com/go-acme/lego/certcrypto"
+ "github.com/go-acme/lego/v3/certcrypto"
"github.com/klauspost/cpuid"
)