diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/SHA1.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Support/SHA1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/SHA1.cpp b/contrib/llvm-project/llvm/lib/Support/SHA1.cpp index 7e66063b0760..412f894492bf 100644 --- a/contrib/llvm-project/llvm/lib/Support/SHA1.cpp +++ b/contrib/llvm-project/llvm/lib/Support/SHA1.cpp @@ -270,7 +270,7 @@ void SHA1::final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult) { } else { // Swap byte order back for (int i = 0; i < 5; i++) { - HashResult[i] = sys::getSwappedBytes(InternalState.State[i]); + HashResult[i] = llvm::byteswap(InternalState.State[i]); } } } |
