Fix bug with goodsig variable
This commit is contained in:
parent
5e090e019b
commit
0e8b89f244
1 changed files with 3 additions and 3 deletions
|
@ -394,14 +394,14 @@ read_config()
|
|||
|
||||
ensure_connected()
|
||||
{
|
||||
local manifest_= rcv_repoid= r_name= url_frag= good_sig= signers_=
|
||||
local manifest_= rcv_repoid= r_name= url_frag= sig_match= signer_text=
|
||||
|
||||
if isnonnull "$Did_find_repo"
|
||||
then
|
||||
return
|
||||
fi
|
||||
Did_find_repo=no
|
||||
read_config good_sig signers_
|
||||
read_config sig_match signer_text
|
||||
|
||||
iseq "${NAME#gcrypt::}" "$URL" || r_name=$NAME
|
||||
|
||||
|
@ -460,7 +460,7 @@ ensure_connected()
|
|||
|
||||
Did_find_repo=yes
|
||||
echo_info "Decrypting manifest"
|
||||
manifest_=$(PRIVDECRYPT "$good_sig" "$signers_" < "$TmpManifest_Enc") &&
|
||||
manifest_=$(PRIVDECRYPT "$sig_match" "$signer_text" < "$TmpManifest_Enc") &&
|
||||
isnonnull "$manifest_" ||
|
||||
echo_die "Failed to decrypt manifest!"
|
||||
rm -f "$TmpManifest_Enc"
|
||||
|
|
Loading…
Reference in a new issue