diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-27 11:31:47 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-27 11:31:47 -0600 |
commit | 9cd6f35e9d4873946060e79cb50643bae8ba8e2c (patch) | |
tree | dfc561042c375890014e529c6fc4badb53a91f80 /modules/caddytls/tls.go | |
parent | 210d0cf7f1040c1372a79869b8b279a92a52baf5 (diff) |
Separate out certificate selection
Diffstat (limited to 'modules/caddytls/tls.go')
-rw-r--r-- | modules/caddytls/tls.go | 8 |
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" |