Reverted incorrect change in internal md5 (part of r3928).

This commit is contained in:
Maxim Dounin 2011-11-14 13:38:02 +00:00
parent 030523dff0
commit 80e3cba5fd

View File

@ -47,7 +47,8 @@ ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size)
return;
}
data = ngx_cpymem(&ctx->buffer[used], data, free);
ngx_memcpy(&ctx->buffer[used], data, free);
data = (u_char *) data + free;
size -= free;
(void) ngx_md5_body(ctx, ctx->buffer, 64);
}