summaryrefslogtreecommitdiffstats
path: root/g10/kbnode.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-03-09 22:44:06 +0100
committerWerner Koch <wk@gnupg.org>1998-03-09 22:44:06 +0100
commita6a8f1e706bd7e528262151bc04ebb9409c2eeed (patch)
tree20b5771581e695a22559d8ffe3f90862afb11e3d /g10/kbnode.c
parentremoved g10maint.c (diff)
downloadgnupg2-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.tar.xz
gnupg2-a6a8f1e706bd7e528262151bc04ebb9409c2eeed.zip
partial DSA support
Diffstat (limited to 'g10/kbnode.c')
-rw-r--r--g10/kbnode.c4
1 files changed, 2 insertions, 2 deletions
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 ) {