/[winpt]/trunk/Src/wptKeyCache.cpp
ViewVC logotype

Diff of /trunk/Src/wptKeyCache.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 164 by twoaday, Fri Jan 20 09:19:15 2006 UTC revision 165 by twoaday, Tue Jan 24 10:10:15 2006 UTC
# Line 768  keycache_next_key (gpg_keycache_t ctx, i Line 768  keycache_next_key (gpg_keycache_t ctx, i
768      }      }
769      if (ctx->tmp->flags != 0)      if (ctx->tmp->flags != 0)
770          ctx->tmp->flags = 0; /* reset the 'updated' status. */          ctx->tmp->flags = 0; /* reset the 'updated' status. */
771        /* it might be possible there is no public key. */
772        if (flags && ctx->tmp->pubpart == NULL)
773            flags = 0;
774      *r_key = flags? ctx->tmp->pubpart->key : ctx->tmp->key;      *r_key = flags? ctx->tmp->pubpart->key : ctx->tmp->key;
775      *c = ctx->tmp = ctx->tmp->next;      *c = ctx->tmp = ctx->tmp->next;
776      ctx->pos++;      ctx->pos++;

Legend:
Removed from v.164  
changed lines
  Added in v.165

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26