aboutsummaryrefslogtreecommitdiffstats
path: root/src/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keylist.c')
-rw-r--r--src/keylist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keylist.c b/src/keylist.c
index cdb115fd..a0de7666 100644
--- a/src/keylist.c
+++ b/src/keylist.c
@@ -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