Fix Le_Keylength case

This commit is contained in:
andrewheberle 2018-05-14 11:26:03 +08:00 committed by GitHub
parent 08d29a8342
commit 733b4e0a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -113,11 +113,11 @@ haproxy_deploy() {
# Set the suffix depending if we are creating a bundle or not
if [ "${Le_Deploy_haproxy_bundle}" = "yes" ]; then
_info "Bundle creation requested"
# Initialise $Le_KeyLength if its not already set
if [ -z "${Le_KeyLength}" ]; then
Le_KeyLength=""
# Initialise $Le_Keylength if its not already set
if [ -z "${Le_Keylength}" ]; then
Le_Keylength=""
fi
if _isEccKey "${Le_KeyLength}"; then
if _isEccKey "${Le_Keylength}"; then
_info "ECC key type so set suffix to .ecc"
_suffix=".ecc"
else