Fixed long standing listing bug.
This commit is contained in:
parent
6c7ce7551d
commit
5ad992b6aa
@ -1,3 +1,10 @@
|
||||
2001-08-29 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* keylist.c (keylist_colon_handler): Do a finish key if we receive
|
||||
an EOF here. This is probably the reason for a lot of bugs
|
||||
related to keylisting. It is so obvious. Kudos to Enno Cramer
|
||||
for pointing that out.
|
||||
|
||||
2001-08-28 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* gpgme.c, gpgme.h (gpgme_get_op_info): New.
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user