You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Milan Tomic <mi...@setcce.org> on 2004/04/22 10:24:44 UTC
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
Re: OpenSSL (compiling errors)
Posted by Berin Lautenbach <be...@wingsofhermes.org>.
Milan,
Not happy. I must have missed testing Windows without Windows CAPI.
With thanks!
Cheers,
Berin
Milan Tomic wrote:
>
> 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:milan@setcce.org]
> *Sent:* Thursday, April 22, 2004 10:25 AM
> *To:* security-dev@xml.apache.org
> *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
>
RE: OpenSSL (compiling errors)
Posted by Milan Tomic <mi...@setcce.org>.
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:milan@setcce.org]
Sent: Thursday, April 22, 2004 10:25 AM
To: security-dev@xml.apache.org
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