Re: NGINX 1.0.3 compile error: src/core/ngx_crypt.c: In function ‘ngx_crypt_apr1’

Maxim Dounin mdounin at mdounin.ru
Fri May 27 16:36:22 MSD 2011


Hello!

On Fri, May 27, 2011 at 04:18:30PM +0400, Igor Sysoev wrote:

> 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 ?

FreeBSD 6.

This was changed in 7+, see
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/md5.h#rev1.19

Maxim Dounin



More information about the nginx mailing list