build-ca: Unset crucial password variables

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-05-09 23:45:55 +01:00
parent a6129e3416
commit 385b7b279d
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -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 \