Mercurial > hg > nginx
changeset 4279:21167183825d
Reverted incorrect change in internal md5 (part of r3928).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 14 Nov 2011 13:38:02 +0000 |
parents | f57229cba7ad |
children | 91874133fb27 |
files | src/core/ngx_md5.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_md5.c Mon Nov 14 13:26:18 2011 +0000 +++ b/src/core/ngx_md5.c Mon Nov 14 13:38:02 2011 +0000 @@ -47,7 +47,8 @@ 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); }