core: Fix parsing of userid sigs after a subpkg
* src/keylist.c (keylist_colon_handler): Do not clear out the tmp_uid when a subpacket line is encountered. -- When the uid is cleared no more signatures following the subpacket are parsed, so we now no longer clear it when a subpacket is encountered.
This commit is contained in:
parent
1f3ca698f1
commit
1242c6c93a
@ -621,8 +621,9 @@ keylist_colon_handler (void *priv, char *line)
|
||||
|
||||
/* Only look at signature and trust info records immediately
|
||||
following a user ID. For this, clear the user ID pointer when
|
||||
encountering anything but a signature or trust record. */
|
||||
if (rectype != RT_SIG && rectype != RT_REV && rectype != RT_TFS)
|
||||
encountering anything but a signature, trust record or subpacket. */
|
||||
if (rectype != RT_SIG && rectype != RT_REV && rectype != RT_TFS &&
|
||||
rectype != RT_SPK)
|
||||
opd->tmp_uid = NULL;
|
||||
|
||||
/* Only look at subpackets immediately following a signature. For
|
||||
|
Loading…
Reference in New Issue
Block a user