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++; |