RE: RE: [openssl.org #1700]: Bug report - openssl-0.9.8h breaks building applications which depend on it

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown RE: RE: [openssl.org #1700]: Bug report - openssl-0.9.8h breaks building applications which depend on it

by David Woodhouse via RT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: 'rt@...'
> 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                       openssl-dev@...
Automated List Manager                           majordomo@...
LightInTheBox - Buy quality products at wholesale price