Skip to content

Commit

Permalink
Merge pull request #35 from lidl/master
Browse files Browse the repository at this point in the history
Fix for endian check on sparc processors.
  • Loading branch information
shumow committed May 30, 2017
2 parents a24eef5 + f88a095 commit e139984
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sha1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e139984

Please sign in to comment.