CVS: crypto/src SHA256.c,1.2,1.3
"A.M. Kuchling" <[email protected]> Fri, 10 Jun 2005 12:22:57 -0700
| Newsgroups | gmane.comp.python.cryptography.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20