Or add X509_EXTENSIONS to the value that are already being undefined for
Windows in x509.h:

#ifdef OPENSSL_SYS_WIN32
/* Under Win32 these are defined in wincrypt.h */
#undef X509_NAME
#undef X509_CERT_PAIR
#undef X509_EXTENSIONS
#endif 

> -----Original Message-----
> From: Jeroen Daanen 
> Sent: donderdag 19 juni 2008 13:40
> To: '[EMAIL PROTECTED]'
> Subject: RE: #1700: Bug report - openssl-0.9.8h breaks 
> building applications which depend on it
> 
> 
> This is caused by a name clash. In the VC8 file WinCrypt.h 
> the following is defined:
> PlatformSDK/Include/WinCrypt.h:#define X509_EXTENSIONS        
>              ((LPCSTR) 5)
> 
> This causes line 207 of openssl/x509.h to be pre-compiled to
> 
> typedef STACK ((LPCSTR) 5);
> 
> X509_EXTENSIONS should be renamed to prevent this clash.
> 
> Regards,
> Jeroen

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

Reply via email to