Hi Dear all
I meet a openssl problem again.
I am almost done the porting work form windows to Mac.
The environment setting is as below.
I had added /Developer/SDKs/MacOSX10.5.sdk/usr/include/ in the search
header path.
Add -lssl -lcrypto in link other flag and add the libcrypto.dylib and
libssl.dylib.
The most functions I use in openssl are work, but the two function
sha256() and EVP_sha256().
I found the some compile flag in the evp.h header.
#ifdef OPENSSL_FIPS
#ifndef OPENSSL_NO_SHA256
const EVP_MD *EVP_sha224(void);
const EVP_MD *EVP_sha256(void);
#endif
#ifndef OPENSSL_NO_SHA512
const EVP_MD *EVP_sha384(void);
const EVP_MD *EVP_sha512(void);
#endif
#endif
Are there any other setting I should do before I call the two function.
Thanks for your help.
I meet a openssl problem again.
I am almost done the porting work form windows to Mac.
The environment setting is as below.
I had added /Developer/SDKs/MacOSX10.5.sdk/usr/include/ in the search
header path.
Add -lssl -lcrypto in link other flag and add the libcrypto.dylib and
libssl.dylib.
The most functions I use in openssl are work, but the two function
sha256() and EVP_sha256().
I found the some compile flag in the evp.h header.
#ifdef OPENSSL_FIPS
#ifndef OPENSSL_NO_SHA256
const EVP_MD *EVP_sha224(void);
const EVP_MD *EVP_sha256(void);
#endif
#ifndef OPENSSL_NO_SHA512
const EVP_MD *EVP_sha384(void);
const EVP_MD *EVP_sha512(void);
#endif
#endif
Are there any other setting I should do before I call the two function.
Thanks for your help.