[nginx] svn commit: r4280 - trunk/src/core
mdounin at mdounin.ru
mdounin at mdounin.ru
Mon Nov 14 13:38:04 UTC 2011
Author: mdounin
Date: 2011-11-14 13:38:02 +0000 (Mon, 14 Nov 2011)
New Revision: 4280
Log:
Reverted incorrect change in internal md5 (part of r3928).
Modified:
trunk/src/core/ngx_md5.c
Modified: trunk/src/core/ngx_md5.c
===================================================================
--- trunk/src/core/ngx_md5.c 2011-11-14 13:26:18 UTC (rev 4279)
+++ trunk/src/core/ngx_md5.c 2011-11-14 13:38:02 UTC (rev 4280)
@@ -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);
}
More information about the nginx-devel
mailing list