Commit d30818ef authored by Vincent Pelletier's avatar Vincent Pelletier

shell/caucase.sh: Simplify renewCertificate locals declaration.

parent 56ae57a2
...@@ -366,9 +366,8 @@ renewCertificate () { ...@@ -366,9 +366,8 @@ renewCertificate () {
# If created, key file permissions will be set so group and other have no # If created, key file permissions will be set so group and other have no
# access. # access.
# shellcheck disable=SC2039 # shellcheck disable=SC2039
local url="$1" oldkey="$2" bits="$3" newcrt="$4" newkey="$5" emptyreqcnf local url="$1" oldkey="$2" bits="$3" newcrt="$4" newkey="$5" emptyreqcnf \
# shellcheck disable=SC2039 newkeydata newcrtdata
local newkeydata newcrtdata
emptyreqcnf="$(mktemp --suffix=emptyreq.cnf)" emptyreqcnf="$(mktemp --suffix=emptyreq.cnf)"
cat > "$emptyreqcnf" << EOF 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