Control: tag -1 pending

Got it!  I couldn't reproduce it because I have
“$CONFIG{'keys-from-gnupg'} = 1;” in my ~/.caffrc.  The regression was
introduced in r864 (2.4-1) and the enclosed patch fixes it.

---
diff --git a/caff/caff b/caff/caff
index 6dacd57..e920bba 100755
--- a/caff/caff
+++ b/caff/caff
@@ -1346,7 +1346,7 @@ sub import_loop($$$;$) {
 #
 sub import_keys_to_sign($) {
     my $keyids = shift;
-    return unless $CONFIG{'keys-from-gnupg'} or @{$CONFIG{'key-files'}} or 
$CONFIG{'no-download'};
+    return unless $CONFIG{'keys-from-gnupg'} or @{$CONFIG{'key-files'}} or 
!$CONFIG{'no-download'};
 
     # map each keyid to a list of matching fingerprints; there is a
     # collision if a keyid is mapped to multiple fingerprints, but we'll
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to