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:
authorKurt Lidl <lidl@pix.net>2017-05-30 06:24:00 +0300
committerKurt Lidl <lidl@pix.net>2017-05-31 01:18:26 +0300
commitf88a0954c486beb6191639d0246d08e1e2e14de0 (patch)
tree3db72cc7c91b04927543561611beeee3ebec9aa0
parenta24eef58c0684078405f8c7a89f9b78271432005 (diff)
Fix for operation 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