mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-22 19:58:29 +01:00
* keygen.c (start_tree): Need to use an actual packet type (which we
can then delete) to start the tree.
This commit is contained in:
parent
c058bd6632
commit
bf4728992f
@ -1,3 +1,8 @@
|
|||||||
|
2005-08-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* keygen.c (start_tree): Need to use an actual packet type (which
|
||||||
|
we can then delete) to start the tree.
|
||||||
|
|
||||||
2005-08-04 Werner Koch <wk@g10code.com>
|
2005-08-04 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* export.c (do_export_stream): Skip on-card keys when only subkeys
|
* export.c (do_export_stream): Skip on-card keys when only subkeys
|
||||||
|
@ -2667,7 +2667,14 @@ start_tree(KBNODE *tree)
|
|||||||
PACKET *pkt;
|
PACKET *pkt;
|
||||||
|
|
||||||
pkt=xmalloc_clear(sizeof(*pkt));
|
pkt=xmalloc_clear(sizeof(*pkt));
|
||||||
pkt->pkttype=PKT_NONE;
|
|
||||||
|
/* We're not acually using a user ID here - this is just an
|
||||||
|
arbitrary choice. We delete it anyway. */
|
||||||
|
|
||||||
|
pkt->pkttype=PKT_USER_ID;
|
||||||
|
pkt->pkt.user_id=xmalloc_clear(sizeof *pkt->pkt.user_id);
|
||||||
|
pkt->pkt.user_id->ref=1;
|
||||||
|
|
||||||
*tree=new_kbnode(pkt);
|
*tree=new_kbnode(pkt);
|
||||||
delete_kbnode(*tree);
|
delete_kbnode(*tree);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user