Changeset View
Changeset View
Standalone View
Standalone View
gnupg-1.4.2/g10/keygen.c
Context not available. | |||||
* Write a keyblock to an output stream | * Write a keyblock to an output stream | ||||
*/ | */ | ||||
static int | static int | ||||
write_keyblock( IOBUF out, KBNODE node ) | write_keyblock( IOBUF out, KBNODE keyblock ) | ||||
{ | { | ||||
for( ; node ; node = node->next ) { | KBNODE kbctx = NULL, node; | ||||
while ( (node = walk_kbnode (keyblock, &kbctx, 0)) ) { | |||||
int rc = build_packet( out, node->pkt ); | int rc = build_packet( out, node->pkt ); | ||||
if( rc ) { | if( rc ) { | ||||
log_error("build_packet(%d) failed: %s\n", | log_error("build_packet(%d) failed: %s\n", | ||||
Context not available. |