diff --git a/deploy/haproxy.sh b/deploy/haproxy.sh index 9736e6ff..a3973f14 100644 --- a/deploy/haproxy.sh +++ b/deploy/haproxy.sh @@ -173,10 +173,7 @@ 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="" - fi + # shellcheck disable=SC2154 # Le_Keylength is set by acme.sh core, not this hook if _isEccKey "${Le_Keylength}"; then _info "ECC key type detected" _suffix=".ecdsa" diff --git a/deploy/lighttpd.sh b/deploy/lighttpd.sh index 71f64b96..0ef4330b 100644 --- a/deploy/lighttpd.sh +++ b/deploy/lighttpd.sh @@ -121,10 +121,7 @@ lighttpd_deploy() { # Set the suffix depending if we are creating a bundle or not if [ "${Le_Deploy_lighttpd_bundle}" = "yes" ]; then _info "Bundle creation requested" - # Initialise $Le_Keylength if its not already set - if [ -z "${Le_Keylength}" ]; then - Le_Keylength="" - fi + # shellcheck disable=SC2154 # Le_Keylength is set by acme.sh core, not this hook if _isEccKey "${Le_Keylength}"; then _info "ECC key type detected" _suffix=".ecdsa"