[levitte - Thu Feb 26 23:09:56 2004]: > > About the header file problem, I'd be thankful if you sent another > message about that, and included a compilation log so we can see exactly > what goes wrong. > > > > > On a side note: I noticed that if you don't #include <windows.h> and > > #include <openssl/pem.h> before <openssl/x509.h>, you get a nameclash > on > > X509_NAME types. > > >
Its a known problem in that wincrypt.h has a few #defines which clash with some which have been in OpenSSL since the dawn of time and changing them would break lots of source. As well as X509_NAME there is also PKCS7_ISSUER_AND_SERIAL and PKCS7_SIGNER_INFO. The workaround we use is to #undef these first in the relevant header file but as the OP reports this only works if you #include <windows.h> (which includes wincrypt.h) first. Steve. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]