Revert bad patch.
authorDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Aug 2005 21:39:43 +0000 (21:39 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Thu, 4 Aug 2005 21:39:43 +0000 (21:39 +0000)
g10/keygen.c

index 4ff6894..a657c13 100644 (file)
@@ -2667,14 +2667,7 @@ start_tree(KBNODE *tree)
   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);
 }