mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
Separate out certificate selection
This commit is contained in:
parent
210d0cf7f1
commit
9cd6f35e9d
2 changed files with 28 additions and 55 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue