c++ - OpenSSL - rsa.h error C2143: syntax error : missing ')' before 'constant' -
i need add ssl capability existing c++ socket client application. i've downloaded , installed openssl, , appropriate libs , includes in visual studio folder. forgive age of dev environment (vc++ 6.0) it's legacy project, , runs on windows xp.
after adding line:
// openssl implementation secure socket #include <openssl/ssl.h>
to 1 of header files, compile error:
c:\program files\microsoft visual studio\vc98\include\openssl\rsa.h(410) : error c2143: syntax error : missing ')' before 'constant' c:\program files\microsoft visual studio\vc98\include\openssl\rsa.h(410) : error c2143: syntax error : missing ';' before 'constant' c:\program files\microsoft visual studio\vc98\include\openssl\rsa.h(410) : fatal error c1004: unexpected end of file found
the line of file causing error in rsa.h
int rsa_verify_pkcs1_pss(rsa *rsa, const unsigned char *mhash, const evp_md *hash, const unsigned char *em, int slen);
any ideas causing error?
thanks
Comments
Post a Comment