Re: NGINX 1.0.3 compile error: src/core/ngx_crypt.c: In function ‘ngx_crypt_apr1’
Igor Sysoev
igor at sysoev.ru
Fri May 27 16:18:30 MSD 2011
On Fri, May 27, 2011 at 04:07:47PM +0400, Maxim Dounin wrote:
> > Index: src/core/ngx_md5.c
> > ===================================================================
> > --- src/core/ngx_md5.c (revision 3927)
> > +++ src/core/ngx_md5.c (working copy)
> > @@ -32,7 +32,7 @@
> >
> >
> > void
> > -ngx_md5_update(ngx_md5_t *ctx, const u_char *data, size_t size)
> > +ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size)
>
> $ grep MD5Update /usr/include/sys/md5.h
> void MD5Update (MD5_CTX *, const unsigned char *, unsigned int);
What OS ?
$ man 3 md5 (MacOSX 10.6)
[ ... ]
#include <openssl/md5.h>
[ ... ]
int MD5_Update(MD5_CTX *c, const void *data,
unsigned long len);
$ man 3 md5 (FreeBSD 7-8)
[ ... ]
#include <md5.h>
[ ... ]
MD5Update(MD5_CTX *context, const void *data, unsigned int len);
$ grep MD5Update /usr/include/sys/md5.h
void MD5Update (MD5_CTX *, const void *, unsigned int);
--
Igor Sysoev
More information about the nginx
mailing list