aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-18 22:21:48 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-18 22:21:48 +0300
commit65413082c902934cacc32899fcda4ddae35e2f21 (patch)
tree46638ce74d2d4405c54919c7d99c3154abb12921
parentf959b8435217a903d0b5ddaa2deaa23af54812ab (diff)
downloadlibmicrohttpd-65413082c902934cacc32899fcda4ddae35e2f21.tar.gz
libmicrohttpd-65413082c902934cacc32899fcda4ddae35e2f21.zip
md5 small optimization
-rw-r--r--src/microhttpd/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/md5.c b/src/microhttpd/md5.c
index 785873b5..b4ca7af8 100644
--- a/src/microhttpd/md5.c
+++ b/src/microhttpd/md5.c
@@ -134,7 +134,7 @@ MHD_MD5Final (void *ctx_,
134 134
135/* This is the central step in the MD5 algorithm. */ 135/* This is the central step in the MD5 algorithm. */
136#define MD5STEP(f, w, x, y, z, data, s) \ 136#define MD5STEP(f, w, x, y, z, data, s) \
137 (w += f (x, y, z) + data, w = w << s | w >> (32 - s), w += x) 137 (w += f (x, y, z) + data, w = _MHD_ROTL32(w, s), w += x)
138 138
139/** 139/**
140 * The core of the MD5 algorithm, this alters an existing MD5 hash to 140 * The core of the MD5 algorithm, this alters an existing MD5 hash to