Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cr-marcstevens/sha1collisiondetection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Shumow <shumow@gmail.com>2017-05-31 01:56:27 +0300
committerGitHub <noreply@github.com>2017-05-31 01:56:27 +0300
commite1399840b501a68ac6c8d7ed9a5cb1455480200e (patch)
tree3db72cc7c91b04927543561611beeee3ebec9aa0
parenta24eef58c0684078405f8c7a89f9b78271432005 (diff)
parentf88a0954c486beb6191639d0246d08e1e2e14de0 (diff)
Merge pull request #35 from lidl/master
Fix for endian check on sparc processors.
-rw-r--r--lib/sha1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index 596a651..facea1b 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -48,7 +48,8 @@
#if (defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN) || defined(__BIG_ENDIAN__) || \
defined(__ARMEB__) || defined(__THUMBEB__) || defined(__AARCH64EB__) || \
- defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB))
+ defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || \
+ defined(__sparc))
#define SHA1DC_BIGENDIAN
#endif