Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
9ec1c178
Commit
9ec1c178
authored
Apr 05, 2016
by
elcore
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #727 from mholt/rename-keytype-ec-to-p
Rename EC256,EC384 to P256,P384
parents
31062dd6
7ababfc9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
caddy/https/setup.go
caddy/https/setup.go
+2
-2
caddy/https/setup_test.go
caddy/https/setup_test.go
+1
-1
No files found.
caddy/https/setup.go
View file @
9ec1c178
...
@@ -257,8 +257,8 @@ func setDefaultTLSParams(c *server.Config) {
...
@@ -257,8 +257,8 @@ func setDefaultTLSParams(c *server.Config) {
// Map of supported key types
// Map of supported key types
var
supportedKeyTypes
=
map
[
string
]
acme
.
KeyType
{
var
supportedKeyTypes
=
map
[
string
]
acme
.
KeyType
{
"
EC384"
:
acme
.
EC384
,
"
P384"
:
acme
.
EC384
,
"
EC256"
:
acme
.
EC256
,
"
P256"
:
acme
.
EC256
,
"RSA8192"
:
acme
.
RSA8192
,
"RSA8192"
:
acme
.
RSA8192
,
"RSA4096"
:
acme
.
RSA4096
,
"RSA4096"
:
acme
.
RSA4096
,
"RSA2048"
:
acme
.
RSA2048
,
"RSA2048"
:
acme
.
RSA2048
,
...
...
caddy/https/setup_test.go
View file @
9ec1c178
...
@@ -221,7 +221,7 @@ func TestSetupParseWithClientAuth(t *testing.T) {
...
@@ -221,7 +221,7 @@ func TestSetupParseWithClientAuth(t *testing.T) {
func
TestSetupParseWithKeyType
(
t
*
testing
.
T
)
{
func
TestSetupParseWithKeyType
(
t
*
testing
.
T
)
{
params
:=
`tls {
params
:=
`tls {
key_type
ec
384
key_type
p
384
}`
}`
c
:=
setup
.
NewTestController
(
params
)
c
:=
setup
.
NewTestController
(
params
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment