diff options
author | David Shaw <[email protected]> | 2006-03-20 00:39:44 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2006-03-20 00:39:44 +0000 |
commit | 0f4f660d5fc036af56d20d988bfc23a52dffd158 (patch) | |
tree | 4d7e8b764ca7a422c5a847f6b5311344fc9d1aad /cipher/rmd160.c | |
parent | * configure.ac: Allow the DNS stuff to work on OSX by trying the (diff) | |
download | gnupg-0f4f660d5fc036af56d20d988bfc23a52dffd158.tar.gz gnupg-0f4f660d5fc036af56d20d988bfc23a52dffd158.zip |
* blowfish.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c: Use '#if'
rather than '#ifdef' BIG_ENDIAN_HOST. Harmless as we explicitly
define BIG_ENDIAN_HOST to 1 when we need it, but needed for OSX fat
builds when we define BIG_ENDIAN_HOST to another macro.
Diffstat (limited to '')
-rw-r--r-- | cipher/rmd160.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/rmd160.c b/cipher/rmd160.c index 7a7230f38..1f759aa88 100644 --- a/cipher/rmd160.c +++ b/cipher/rmd160.c @@ -176,7 +176,7 @@ static void transform( RMD160_CONTEXT *hd, byte *data ) { u32 a,b,c,d,e,aa,bb,cc,dd,ee,t; -#ifdef BIG_ENDIAN_HOST +#if BIG_ENDIAN_HOST u32 x[16]; { int i; byte *p2, *p1; @@ -515,7 +515,7 @@ rmd160_final( RMD160_CONTEXT *hd ) burn_stack (108+5*sizeof(void*)); p = hd->buf; -#ifdef BIG_ENDIAN_HOST +#if BIG_ENDIAN_HOST #define X(a) do { *p++ = hd->h##a ; *p++ = hd->h##a >> 8; \ *p++ = hd->h##a >> 16; *p++ = hd->h##a >> 24; } while(0) #else /* little endian */ |