summaryrefslogtreecommitdiff
path: root/modules/caddytls/tls.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddytls/tls.go')
-rw-r--r--modules/caddytls/tls.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 174d3e4..29ca88e 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -318,10 +318,10 @@ var supportedProtocols = map[string]uint16{
}
// publicKeyAlgorithms is the map of supported public key algorithms.
-var publicKeyAlgorithms = map[string]pkAlgorithm{
- "rsa": pkAlgorithm(x509.RSA),
- "dsa": pkAlgorithm(x509.DSA),
- "ecdsa": pkAlgorithm(x509.ECDSA),
+var publicKeyAlgorithms = map[string]x509.PublicKeyAlgorithm{
+ "rsa": x509.RSA,
+ "dsa": x509.DSA,
+ "ecdsa": x509.ECDSA,
}
const automateKey = "automate"