mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* getkey.c (premerge_public_with_secret): Fix subkey<->binding sig
mismatch when some secret subkeys are missing. Discovered by Michael Roth.
This commit is contained in:
parent
3e47f2e936
commit
1d8e25695f
2 changed files with 5 additions and 1 deletions
|
@ -2173,7 +2173,7 @@ premerge_public_with_secret ( KBNODE pubblock, KBNODE secblock )
|
|||
assert ( last );
|
||||
/* find the next subkey */
|
||||
for (next=pub->next,ll=pub;
|
||||
next && pub->pkt->pkttype != PKT_PUBLIC_SUBKEY;
|
||||
next && next->pkt->pkttype != PKT_PUBLIC_SUBKEY;
|
||||
ll = next, next = next->next )
|
||||
;
|
||||
/* make new link */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue