Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
733b4e0a
Unverified
Commit
733b4e0a
authored
May 14, 2018
by
andrewheberle
Committed by
GitHub
May 14, 2018
Browse files
Fix Le_Keylength case
parent
08d29a83
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/haproxy.sh
View file @
733b4e0a
...
@@ -113,11 +113,11 @@ haproxy_deploy() {
...
@@ -113,11 +113,11 @@ haproxy_deploy() {
# Set the suffix depending if we are creating a bundle or not
# Set the suffix depending if we are creating a bundle or not
if
[
"
${
Le_Deploy_haproxy_bundle
}
"
=
"yes"
]
;
then
if
[
"
${
Le_Deploy_haproxy_bundle
}
"
=
"yes"
]
;
then
_info
"Bundle creation requested"
_info
"Bundle creation requested"
# Initialise $Le_Key
L
ength if its not already set
# Initialise $Le_Key
l
ength if its not already set
if
[
-z
"
${
Le_Key
L
ength
}
"
]
;
then
if
[
-z
"
${
Le_Key
l
ength
}
"
]
;
then
Le_Key
L
ength
=
""
Le_Key
l
ength
=
""
fi
fi
if
_isEccKey
"
${
Le_Key
L
ength
}
"
;
then
if
_isEccKey
"
${
Le_Key
l
ength
}
"
;
then
_info
"ECC key type so set suffix to .ecc"
_info
"ECC key type so set suffix to .ecc"
_suffix
=
".ecc"
_suffix
=
".ecc"
else
else
...
...
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