mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
fix shellcheck warnings
This commit is contained in:
parent
7af784adce
commit
796e2cc156
4
acme.sh
4
acme.sh
@ -532,10 +532,10 @@ _createkey() {
|
|||||||
|
|
||||||
if _isEccKey "$length"; then
|
if _isEccKey "$length"; then
|
||||||
_debug "Using ec name: $eccname"
|
_debug "Using ec name: $eccname"
|
||||||
openssl ecparam -name $eccname -genkey 2>/dev/null >"$f"
|
openssl ecparam -name "$eccname" -genkey 2>/dev/null >"$f"
|
||||||
else
|
else
|
||||||
_debug "Using RSA: $length"
|
_debug "Using RSA: $length"
|
||||||
openssl genrsa $length 2>/dev/null >"$f"
|
openssl genrsa "$length" 2>/dev/null >"$f"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user