Commit 796e2cc1 authored by neilpang's avatar neilpang
Browse files

fix shellcheck warnings

parent 7af784ad
......@@ -532,10 +532,10 @@ _createkey() {
if _isEccKey "$length"; then
_debug "Using ec name: $eccname"
openssl ecparam -name $eccname -genkey 2>/dev/null >"$f"
openssl ecparam -name "$eccname" -genkey 2>/dev/null >"$f"
else
_debug "Using RSA: $length"
openssl genrsa $length 2>/dev/null >"$f"
openssl genrsa "$length" 2>/dev/null >"$f"
fi
if [ "$?" != "0" ]; then
......
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