-----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-effectsrc\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 compilationI have set this in XSECW32Config.hpp:
#define HAVE_OPENSSL 1
//#define HAVE_WINCAPI 1I've added libeay32.lib and removed crypt32.lib from my VC6 project.
Thank you,
Milan
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
- OpenSSL (compiling errors) Milan Tomic
- RE: OpenSSL (compiling errors) Milan Tomic
- Re: OpenSSL (compiling errors) Berin Lautenbach