aboutsummaryrefslogtreecommitdiffstats
path: root/g10/hkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/hkp.c')
-rw-r--r--g10/hkp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/hkp.c b/g10/hkp.c
index 1b0dac755..bcc06fdbf 100644
--- a/g10/hkp.c
+++ b/g10/hkp.c
@@ -280,7 +280,8 @@ parse_hkp_index(IOBUF buffer,char *line)
{
char intstr[11];
- write_quoted(buffer,key,':');
+ if(key)
+ write_quoted(buffer,key,':');
iobuf_writestr(buffer,":");
write_quoted(buffer,uid,':');
iobuf_writestr(buffer,":");