aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-09-28 19:25:31 +0000
committerWerner Koch <[email protected]>1998-09-28 19:25:31 +0000
commit41fa8a3345aecf9b85c1eebb33f9b961a558db1c (patch)
tree4f5745dc77207f40dabd7f9a176b7255e8994223 /g10/mainproc.c
parent. (diff)
downloadgnupg-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.tar.gz
gnupg-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.zip
*** empty log message ***
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 1e8af7e21..bcbc4bd92 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -88,8 +88,10 @@ add_onepass_sig( CTX c, PACKET *pkt )
if( c->list->pkt->pkttype != PKT_ONEPASS_SIG ) {
log_error("add_onepass_sig: another packet is in the way\n");
release_list( c );
+ c->list = new_kbnode( pkt );
}
- add_kbnode( c->list, new_kbnode( pkt ));
+ else
+ add_kbnode( c->list, new_kbnode( pkt ));
}
else /* insert the first one */
c->list = node = new_kbnode( pkt );