View | Details | Raw Unified | Return to bug 90105 | Differences between
and this patch

Collapse All | Expand All

(-)g10/keygen.c (-1 / +8 lines)
Lines 2688-2694 Link Here
2688
  PACKET *pkt;
2688
  PACKET *pkt;
2689
2689
2690
  pkt=m_alloc_clear(sizeof(*pkt));
2690
  pkt=m_alloc_clear(sizeof(*pkt));
2691
  pkt->pkttype=PKT_NONE;
2691
  
2692
/* We're not acually using a user ID here - this is just an
2693
     arbitrary choice.  We delete it anyway. */
2694
2695
  pkt->pkttype=PKT_USER_ID;
2696
  pkt->pkt.user_id=m_alloc_clear(sizeof *pkt->pkt.user_id);
2697
  pkt->pkt.user_id->ref=1;
2698
  
2692
  *tree=new_kbnode(pkt);
2699
  *tree=new_kbnode(pkt);
2693
  delete_kbnode(*tree);
2700
  delete_kbnode(*tree);
2694
}
2701
}

Return to bug 90105