Mercurial > dropbear
diff mycrypt_macros.h @ 88:901233045998 libtomcrypt
Fix typo in the big-endian macros
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 02 Sep 2004 15:34:30 +0000 |
parents | d7da3b1e1540 |
children | cecb105ff479 |
line wrap: on
line diff
--- a/mycrypt_macros.h Tue Jun 15 16:47:55 2004 +0000 +++ b/mycrypt_macros.h Thu Sep 02 15:34:30 2004 +0000 @@ -125,7 +125,7 @@ #ifdef ENDIAN_BIG #define STORE32L(x, y) \ - { (y)[z0] = (unsigned char)(((x)>>24)&255); (y)[1] = (unsigned char)(((x)>>16)&255); \ + { (y)[0] = (unsigned char)(((x)>>24)&255); (y)[1] = (unsigned char)(((x)>>16)&255); \ (y)[2] = (unsigned char)(((x)>>8)&255); (y)[3] = (unsigned char)((x)&255); } #define LOAD32L(x, y) \