[svn] GnuPG - r3852 - trunk/g10
svn author dshaw
cvs at cvs.gnupg.org
Thu Aug 4 23:39:43 CEST 2005
Author: dshaw
Date: 2005-08-04 23:39:43 +0200 (Thu, 04 Aug 2005)
New Revision: 3852
Modified:
trunk/g10/keygen.c
Log:
Revert bad patch.
Modified: trunk/g10/keygen.c
===================================================================
--- trunk/g10/keygen.c 2005-08-04 20:48:13 UTC (rev 3851)
+++ trunk/g10/keygen.c 2005-08-04 21:39:43 UTC (rev 3852)
@@ -2667,14 +2667,7 @@
PACKET *pkt;
pkt=xmalloc_clear(sizeof(*pkt));
-
- /* 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;
-
+ pkt->pkttype=PKT_NONE;
*tree=new_kbnode(pkt);
delete_kbnode(*tree);
}
More information about the Gnupg-commits
mailing list