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

Denis D. lists at ruby-forum.com
Wed Jul 27 13:58:30 UTC 2011


openssl api is deprecated in Mac OS 10.7

Instead it is advised to use CommonCrypto/CommonDigest.h which has an 
api compatible with openssl:

#if defined(__APPLE__)
#  define COMMON_DIGEST_FOR_OPENSSL
#  include <CommonCrypto/CommonDigest.h>
#  define SHA1 CC_SHA1
#else
#  include <openssl/sha.h>
#endif

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list