build-ca: Unset crucial password variables
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
a6129e3416
commit
385b7b279d
@ -1566,7 +1566,7 @@ to the latest Easy-RSA release."
|
|||||||
die "build_ca - easyrsa_mktemp out_file_tmp"
|
die "build_ca - easyrsa_mktemp out_file_tmp"
|
||||||
|
|
||||||
# Get passphrase from user if necessary
|
# Get passphrase from user if necessary
|
||||||
out_key_pass=
|
unset -v out_key_pass
|
||||||
|
|
||||||
if [ "$EASYRSA_NO_PASS" ]
|
if [ "$EASYRSA_NO_PASS" ]
|
||||||
then
|
then
|
||||||
@ -1580,8 +1580,7 @@ to the latest Easy-RSA release."
|
|||||||
|
|
||||||
else
|
else
|
||||||
# Assign passphrase vars
|
# Assign passphrase vars
|
||||||
p=""
|
unset -v p q
|
||||||
q=""
|
|
||||||
|
|
||||||
# Get passphrase p
|
# Get passphrase p
|
||||||
get_passphrase p \
|
get_passphrase p \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user