> Neil Hague wrote:
> 
> I'm currently having some problems compiling the OpenSSL libraries
> into my project.  I'm using VC++ V6 on NT4 to produce an ATL COM
> project.  However, there seems to be some conflicts between the
> OpenSSL libraries and those supplied by Microsoft.
> 
> Firstly there appears to be some redefinitions of items appearing in
> WINCRYPT.H
> 
> e.g.
> //+-------------------------------------------------------------------------
> 
> //  Predefined PKCS #7 data structures that can be encoded / decoded.
> //--------------------------------------------------------------------------
> 
> #define PKCS7_SIGNER_INFO                   ((LPCSTR) 500)
> 
> The symbol PKCS7_SIGNER_INFO is used in the OpenSSL code, but more
> worrying after commenting these lines out of the WINCRYPT header file
> I get redefinition errors from the linker:-
> 

Ugh. Yes I know about this there was a hack in the OpenSSL headers that
just did a:

#undef PKCS7_SIGNER_INFO

I'd guess it isn't there or isn't being called any more. Try putting
that just before you #include any OpenSSL header files.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to