aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
authorroot <root@localhost>2013-02-08 09:21:21 +0000
committerroot <root@localhost>2013-02-08 09:21:21 +0000
commit0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1 (patch)
tree1f6753f700636977153a05bd9345d75e8ce52fce /git-remote-gcrypt
parent5e090e019bd05c03642a9074d07f703445d99d81 (diff)
downloadgit-remote-gcrypt-0e8b89f2443a9c4851ce402c67078c6d4c3a9ae1.tar.gz
Fix bug with goodsig variable
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index df00ddc..8d17687 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -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"