Welcome! Log In Create A New Profile

Advanced

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Rob Stradling
July 22, 2011 07:26AM
On Friday 22 Jul 2011 11:25:40 Igor Sysoev wrote:
> Thank you. Are any pointers what they suggest to use instead ?

http://www.openssl.org/docs/crypto/EVP_DigestInit.html

"The EVP interface to message digests should almost always be used in
preference to the low level interfaces".

Are these functions available on Lion?

> On Fri, Jul 22, 2011 at 06:14:37PM +0800, 191919 wrote:
> > In Lion+Xcode 4.1, almost all openssl functions are "deprecated" by
> > a DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER macro:
> >
> > 110 #ifdef OPENSSL_FIPS
> > 111 int private_MD5_Init(MD5_CTX *c)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 112 #endif
> > 113 int MD5_Init(MD5_CTX *c)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; 114 int
> > MD5_Update(MD5_CTX *c, const void *data, size_t len)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 115 int MD5_Final(unsigned char *md, MD5_CTX *c)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 116 unsigned char *MD5(const unsigned char *d, size_t n, unsigned char
> > *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 117 void MD5_Transform(MD5_CTX *c, const unsigned char *b)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 118 #ifdef __cplusplus
> > 119 }
> > 120 #endif
> >
> > 2011/7/22 Igor Sysoev <igor@sysoev.ru>
> >
> > > On Fri, Jul 22, 2011 at 05:51:17AM -0400, qinjian wrote:
> > > > cc1: warnings being treated as errors
> > > > src/core/ngx_crypt.c: In function ‘ngx_crypt_apr1’:
> > > > src/core/ngx_crypt.c:76: warning: ‘MD5_Init’ is deprecated (declared
> > > > at /usr/include/openssl/md5.h:113)
> > > >
> > > > make[1]: *** [objs/src/core/ngx_crypt.o] Error 1
> > > > make: *** [build] Error 2
> > > > qinjianmatoMac:nginx-1.0.5 qinjian$ pwd
> > > > /Users/qinjian/Downloads/nginx-1.0.5
> > >
> > > Could you please send me privatly /usr/include/openssl/md5.h file ?

Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online
Office Tel: +44.(0)1274.730505
Office Fax: +44.(0)1274.730909
www.comodo.com

COMODO CA Limited, Registered in England No. 04058690
Registered Office:
3rd Floor, 26 Office Village, Exchange Quay,
Trafford Road, Salford, Manchester M5 3EQ

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender by replying
to the e-mail containing this attachment. Replies to this email may be
monitored by Comodo for operational or business reasons. Whilst every
endeavour is taken to ensure that e-mails are free from viruses, no liability
can be accepted and the recipient is requested to use their own virus checking
software.


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

MAC OS X Lion + Xcode + nginx-1.0.5 make error

qinjian July 22, 2011 05:51AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Igor Sysoev July 22, 2011 06:06AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

191919 July 22, 2011 06:16AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Igor Sysoev July 22, 2011 06:26AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

191919 July 22, 2011 06:30AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Rob Stradling July 22, 2011 07:26AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Maxim Dounin July 22, 2011 06:52AM

Re: MAC OS X Lion + Xcode + nginx-1.0.5 make error

Denis D. July 27, 2011 10:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready