From ca980547b59be5b31650a045b418aaa61252586c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 10 Dec 2008 14:50:57 +0000 Subject: Fix for big endian hosts. --- src/hmac256.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/hmac256.c') diff --git a/src/hmac256.c b/src/hmac256.c index c802a78a..daa9cbed 100644 --- a/src/hmac256.c +++ b/src/hmac256.c @@ -270,14 +270,8 @@ finalize (hmac256_context_t hd) /* Store the digest into hd->buf. */ p = hd->buf; -#ifdef WORDS_BIGENDIAN -#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 */ #define X(a) do { *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \ *p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0) - -#endif X(0); X(1); X(2); -- cgit v1.2.1