[7421] in Kerberos

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

Beta6 shs test fails

daemon@ATHENA.MIT.EDU (Ezra Peisach)
Sat Jun 8 08:07:29 1996

To: kerberos@MIT.EDU
Date: Sat, 08 Jun 1996 07:59:26 EDT
From: Ezra Peisach <epeisach@MIT.EDU>

Brian Perkins noted that the shs tests failed on little endian machines.

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;



------- End of Forwarded Message


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