From: A.M. K. <aku...@us...> - 2005-06-10 19:23:17
|
Update of /cvsroot/pycrypto/crypto/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5025 Modified Files: SHA256.c Log Message: [Mentioned in bug #1154530] SHA256 didn't work correctly on Alpha Index: SHA256.c =================================================================== RCS file: /cvsroot/pycrypto/crypto/src/SHA256.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SHA256.c 10 Jun 2005 19:17:58 -0000 1.2 +++ SHA256.c 10 Jun 2005 19:22:55 -0000 1.3 @@ -15,7 +15,9 @@ #define DIGEST_SIZE 32 typedef unsigned char U8; -#if defined(__amd64__) +#ifdef __alpha__ +typedef unsigned int U32; +#elif defined(__amd64__) #include <inttypes.h> typedef uint32_t U32; #else |