Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ucselx.sdsu.edu!bionet!agate!shelby!ctt.bellcore.com!lunt From: lunt@ctt.bellcore.com (Steve Lunt) Newsgroups: comp.protocols.kerberos Subject: ksrvutil bug Message-ID: <9004092302.AA05506@dduck.ctt.bellcore.com> Date: 9 Apr 90 23:02:00 GMT Sender: daemon@shelby.Stanford.EDU Organization: The Internet Lines: 17 There is a bug in ksrvutil.c. The fix is as follows: 567c567 < (void) des_random_key(new_key); --- > (void) des_new_random_key(new_key); When executing "ksrvutil change" I would get a core dump. After recompiling with the debug flag (-g), it worked fine! Thus I suspected a machine dependence. des_random_key() seems to be machine dependent, while des_new_random_key() seems to be less so, and they are advertised as having the same purpose (to generate a hopefully random key using DES). I noticed that des_new_random_key() is used nowhere in the code. Is this the successor to des_random_key()? -- Steve