projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe33661
)
Fix buildbot.
author
Rui Ueyama
<ruiu@google.com>
Sun, 20 Nov 2016 01:13:22 +0000
(
01:13
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Sun, 20 Nov 2016 01:13:22 +0000
(
01:13
+0000)
llvm-svn: 287474
llvm/lib/Support/SHA1.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/SHA1.cpp
b/llvm/lib/Support/SHA1.cpp
index
dcd3b02
..
0998af7
100644
(file)
--- a/
llvm/lib/Support/SHA1.cpp
+++ b/
llvm/lib/Support/SHA1.cpp
@@
-29,9
+29,9
@@
using namespace llvm;
static uint32_t rol(uint32_t number, int bits) {
return (number << bits) | (number >> (32 - bits));
-}
;
+}
-#if SHA_BIG_ENDIAN
+#if
def
SHA_BIG_ENDIAN
static uint32_t blk0(uint32_t *Buf, int I) {
Buf[I] = (rol(Buf[I], 24) & 0xFF00FF00) | (rol(Buf[I], 8) & 0x00FF00FF);
return Buf[I];