зеркало из https://github.com/mozilla/gecko-dev.git
fix bug in last patch
This commit is contained in:
Родитель
ef069487a5
Коммит
f11e523f03
|
@ -476,7 +476,7 @@ MD5_Update(MD5Context *cx, const unsigned char *input, unsigned int inputLen)
|
||||||
#else
|
#else
|
||||||
if ((ptrdiff_t)input & 0x3) {
|
if ((ptrdiff_t)input & 0x3) {
|
||||||
/* buffer not aligned, copy it to force alignment */
|
/* buffer not aligned, copy it to force alignment */
|
||||||
memcpy(cx->inBuf, buf, MD5_BUFFER_SIZE);
|
memcpy(cx->inBuf, input, MD5_BUFFER_SIZE);
|
||||||
wBuf = cx->u.w;
|
wBuf = cx->u.w;
|
||||||
} else {
|
} else {
|
||||||
/* buffer is aligned */
|
/* buffer is aligned */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче