mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
gpg: Fix iteration over signatures
* g10/keyedit.c (keyedit_quick_revsig): Take signature of correct node -- GnuPG-bug-id: 5093
This commit is contained in:
parent
8211d0bc3b
commit
b004701adc
@ -2880,7 +2880,7 @@ keyedit_quick_revsig (ctrl_t ctrl, const char *username, const char *sigtorev,
|
||||
sigcount = 0;
|
||||
for (n=node; n && n->pkt->pkttype == PKT_SIGNATURE; node=n, n=n->next)
|
||||
{
|
||||
sig = node->pkt->pkt.signature;
|
||||
sig = n->pkt->pkt.signature;
|
||||
if (!keyid_cmp (primarykid, sig->keyid))
|
||||
continue; /* Ignore self-signatures. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user