From a6a8f1e706bd7e528262151bc04ebb9409c2eeed Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 9 Mar 1998 21:44:06 +0000 Subject: partial DSA support --- g10/kbnode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/kbnode.c') diff --git a/g10/kbnode.c b/g10/kbnode.c index 5a6d16abc..11b0e46be 100644 --- a/g10/kbnode.c +++ b/g10/kbnode.c @@ -48,8 +48,8 @@ clone_kbnode( KBNODE node ) KBNODE n = m_alloc( sizeof *n ); n->next = NULL; n->pkt = node->pkt; - n->private_flag |= 2; /* mark cloned */ n->flag = 0; + n->private_flag = node->private_flag | 2; /* mark cloned */ return n; } @@ -268,7 +268,7 @@ dump_kbnode( KBNODE node ) if( node->pkt->pkttype == PKT_USER_ID ) { fputs(" \"", stderr); print_string( stderr, node->pkt->pkt.user_id->name, - node->pkt->pkt.user_id->len ); + node->pkt->pkt.user_id->len, 0 ); fputs("\"\n", stderr); } else if( node->pkt->pkttype == PKT_SIGNATURE ) { -- cgit v1.2.3