summaryrefslogtreecommitdiff
path: root/tools/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/md5.c')
-rw-r--r--tools/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/md5.c b/tools/md5.c
index e043e8537..45562330a 100644
--- a/tools/md5.c
+++ b/tools/md5.c
@@ -32,7 +32,7 @@ static const uint32_t K[64] = {
};
#define rotate_left_32(value, by) \
- ((((value) << (by)) & 0xffffffff) | ((value) >> 32 - (by)))
+ ((((value) << (by)) & 0xffffffff) | ((value) >> (32 - (by))))
void md5_wikipedia(uint8_t *data, int length, uint8_t *result) {