build_ca: Initialise get_passphrase() correctly
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
2dd2767922
commit
88557aae8c
@ -1272,9 +1272,9 @@ Could not disable echo. Password will be shown on screen!"
|
|||||||
|
|
||||||
# Get passphrase
|
# Get passphrase
|
||||||
get_passphrase() {
|
get_passphrase() {
|
||||||
|
t="$1"; shift || die "password malfunction"
|
||||||
while :; do
|
while :; do
|
||||||
r=""
|
r=""
|
||||||
t="$1"; shift || die "password malfunction"
|
|
||||||
printf '\n%s' "$*"
|
printf '\n%s' "$*"
|
||||||
hide_read_pass r
|
hide_read_pass r
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user