Re: The infamous win32 X509_NAME #define problem

2009-10-19 Thread Domingo Kiser
I think that fix is fine for the x509.h include chain, but the problem also exists for the rand.h include chain depending on include order. --Domingo On 10/18/09, sandeep kiran p wrote: > Same here. I too faced the same issue when I was trying to build the 'req' > utility using Visual Studio. A

Re: The infamous win32 X509_NAME #define problem

2009-10-18 Thread sandeep kiran p
Same here. I too faced the same issue when I was trying to build the 'req' utility using Visual Studio. A short list of errors is as below d:\ssl\openssl-0.9.8k\include\openssl\store.h(390) : error C2059: syntax error : 'type' d:\ssl\openssl-0.9.8k\include\openssl\store.h(397) : error C2059: syntax

The infamous win32 X509_NAME #define problem

2009-10-16 Thread Domingo Kiser
Hello all, I am working on porting a linux app that depends on OpenSSL to windows and ran into the visual studio 2009 "c2226" unexpected type "LPCSTR". The order of #includes that can generate this error is shown below. Note that only ssl includes are used. Adding a #undef X509_NAME after the ran