diff options
Diffstat (limited to '')
-rw-r--r-- | gpgme/keylist.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gpgme/keylist.c b/gpgme/keylist.c index c95f943a..11bbf5d9 100644 --- a/gpgme/keylist.c +++ b/gpgme/keylist.c @@ -156,8 +156,11 @@ keylist_colon_handler ( GpgmeCtx ctx, char *line ) if ( ctx->out_of_core ) return; - if (!line) - return; /* EOF */ + if (!line) { /* EOF */ + if (ctx->tmp_key) + finish_key (ctx); + return; + } for (p = line; p; p = pend) { field++; |