[1973] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Beta6 shs test fails

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sat Jun 8 07:56:43 1996

From: epeisach@MIT.EDU
Date: Sat, 8 Jun 1996 07:56:32 -0400
To: bperkins@netspace.org (Brian Perkins)
Cc: keberos@MIT.EDU, krb5-bugs@MIT.EDU


A last moment change to the sources caused shs tests to fail. You were
correct in that it was a big/little endian problem. htonl had been
replaced with a test which failed on half the architectures.... I
believe this will solve your problem... If you were to look at the
sources, you would see the obvious failure....

Index: shs.c
===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/crypto/sha/shs.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -c -r1.3 -r1.4
*** shs.c	1996/06/06 19:54:22	1.3
--- shs.c	1996/06/08 11:52:27	1.4
***************
*** 219,224 ****
--- 219,225 ----
  
      switch (init) {
      case 0:
+ 	init=1;
  	cp = (char *) &init;
  	if (*cp == 1) {
  	    init=2;



home help back first fref pref prev next nref lref last post