diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2016-06-28 13:33:50 +0200 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2016-06-28 13:33:50 +0200 |
commit | 0f89b041c0803e7e1cee2c9bcfc08b209d1c88fd (patch) | |
tree | 3a7f428294c8e8b109744e004a8e27e61ccc2008 /apps/plugins | |
parent | c7a561e9f16b9c14631b448510297ffa912c298c (diff) | |
download | rockbox-0f89b041c0803e7e1cee2c9bcfc08b209d1c88fd.tar.gz rockbox-0f89b041c0803e7e1cee2c9bcfc08b209d1c88fd.zip |
Fix endianness handling for sha1 (used by the otp plugin)
Change-Id: I408d88d984f9026539c2d1bc2a9608243802c152
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lib/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/sha1.c b/apps/plugins/lib/sha1.c index 107c50256b..cf9f23e803 100644 --- a/apps/plugins/lib/sha1.c +++ b/apps/plugins/lib/sha1.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "plugin.h" | 26 | #include "plugin.h" |
27 | #include "sha1.h" | 27 | #include "sha1.h" |
28 | 28 | ||
29 | #ifdef WORDS_BIGENDIAN | 29 | #ifdef ROCKBOX_BIG_ENDIAN |
30 | # define SWAP(n) (n) | 30 | # define SWAP(n) (n) |
31 | #else | 31 | #else |
32 | # define SWAP(n) \ | 32 | # define SWAP(n) \ |