diff src/core/ngx_md5.h @ 3927:38e6f45c5e3d

make built-in ngx_md5_update() interface consistent with other implemenations
author Igor Sysoev <igor@sysoev.ru>
date Fri, 27 May 2011 10:00:46 +0000
parents b659514a3948
children d620f497c50f
line wrap: on
line diff
--- a/src/core/ngx_md5.h
+++ b/src/core/ngx_md5.h
@@ -50,7 +50,7 @@ typedef struct {
 
 
 void ngx_md5_init(ngx_md5_t *ctx);
-void ngx_md5_update(ngx_md5_t *ctx, const u_char *data, size_t size);
+void ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size);
 void ngx_md5_final(u_char result[16], ngx_md5_t *ctx);