Rename EC256,EC384 to P256,P384

This commit is contained in:
Eldin Hadzic 2016-04-05 13:37:39 +00:00
parent 31062dd6c2
commit 7ababfc909
2 changed files with 3 additions and 3 deletions

View File

@ -257,8 +257,8 @@ func setDefaultTLSParams(c *server.Config) {
// Map of supported key types
var supportedKeyTypes = map[string]acme.KeyType{
"EC384": acme.EC384,
"EC256": acme.EC256,
"P384": acme.EC384,
"P256": acme.EC256,
"RSA8192": acme.RSA8192,
"RSA4096": acme.RSA4096,
"RSA2048": acme.RSA2048,

View File

@ -221,7 +221,7 @@ func TestSetupParseWithClientAuth(t *testing.T) {
func TestSetupParseWithKeyType(t *testing.T) {
params := `tls {
key_type ec384
key_type p384
}`
c := setup.NewTestController(params)