Title: Message
 
    It seems that WinCAPICryptoProvider.hpp is missing:
 
#if defined (HAVE_WINCAPI)
...
#endif /* HAVE_WINCAPI */
 
    I've added those precompiler directives and it compiles without errors.
 
Best regards,
Milan
 
 
-----Original Message-----
From: Milan Tomic [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 10:25 AM
To: [EMAIL PROTECTED]
Subject: OpenSSL (compiling errors)


        I'm trying to compile XSEC 1.1 with OpenSSL library and got those errors:

WinCAPICryptoProvider.cpp
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(274) : error C2065: 'WinCAPICryptoSymmetricKey' : undeclared identifier
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(274) : error C2065: 'ret' : undeclared identifier
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(274) : warning C4552: '*' : operator has no effect; expected operator with side-effect

src\enc\WinCAPI\WinCAPICryptoProvider.cpp(276) : error C2061: syntax error : identifier 'WinCAPICryptoSymmetricKey'
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(276) : error C2143: syntax error : missing ')' before '{'
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(276) : error C2143: syntax error : missing ';' before '{'
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(276) : error C2144: syntax error : missing ';' before type 'XSECException'
src\enc\WinCAPI\WinCAPICryptoProvider.cpp(276) : fatal error C1903: unable to recover from previous error(s); stopping compilation

        I have set this in XSECW32Config.hpp:

#define HAVE_OPENSSL 1
//#define HAVE_WINCAPI 1

        I've added libeay32.lib and removed crypt32.lib from my VC6 project.

Thank you,
Milan

Reply via email to