mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
Reverted incorrect change in internal md5 (part of r3928).
This commit is contained in:
parent
030523dff0
commit
80e3cba5fd
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user