diff options
Diffstat (limited to 'crypto/sha/sha_dgst.c')
-rw-r--r-- | crypto/sha/sha_dgst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/sha_dgst.c b/crypto/sha/sha_dgst.c index 7504fb7c08..f4aa5a5144 100644 --- a/crypto/sha/sha_dgst.c +++ b/crypto/sha/sha_dgst.c @@ -211,7 +211,7 @@ void SHA_Update(SHA_CTX *c, const register unsigned char *data, data+=SHA_CBLOCK; sha_block(c,p=c->data,1); len-=SHA_CBLOCK; -#else /* little-endian */ +#elif defined(L_ENDIAN) #define BE_COPY(dst,src,i) { \ l = ((SHA_LONG *)src)[i]; \ Endian_Reverse32(l); \ @@ -275,7 +275,7 @@ void SHA_Transform(SHA_CTX *c, unsigned char *b) memcpy(p,b,SHA_CBLOCK); sha_block(c,p,1); return; -#else +#elif defined(L_ENDIAN) if (((unsigned long)b%sizeof(SHA_LONG)) == 0) { SHA_LONG *q; |