Commit d30818ef authored by Vincent Pelletier's avatar Vincent Pelletier

shell/caucase.sh: Simplify renewCertificate locals declaration.

parent 56ae57a2
......@@ -366,9 +366,8 @@ renewCertificate () {
# If created, key file permissions will be set so group and other have no
# access.
# shellcheck disable=SC2039
local url="$1" oldkey="$2" bits="$3" newcrt="$4" newkey="$5" emptyreqcnf
# shellcheck disable=SC2039
local newkeydata newcrtdata
local url="$1" oldkey="$2" bits="$3" newcrt="$4" newkey="$5" emptyreqcnf \
newkeydata newcrtdata
emptyreqcnf="$(mktemp --suffix=emptyreq.cnf)"
cat > "$emptyreqcnf" << EOF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment