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
Łukasz Nowak
caddy
Commits
7ababfc9
Commit
7ababfc9
authored
Apr 05, 2016
by
Eldin Hadzic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename EC256,EC384 to P256,P384
parent
31062dd6
Changes
2
Show 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 @
7ababfc9
...
@@ -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 @
7ababfc9
...
@@ -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