I think the problem here is that X509_EXTENSIONS is a macro that is
already defined in WinCrypt.h.

At first x509.h contains something like (leaving the STACK_OF macro out
of this example)
typedef X509_EXTENSION //"OLD_TYPE"
X509_EXTENSIONS //"NEW_TYPE"

The precompiler replaces X509_EXTENSIONS with ((LPCSTR) 5).
Now it is something like
typedef X509_EXTENSION //"OLD_TYPE"
((LPCSTR) 5) //"NEW_TYPE"

And that is not what was intended and incorrect. Therefore undef
X509_EXTENSIONS in x509.h, like other macro's from WinCrypt.h that are
already undefined there.

Regards,
Jeroen

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majordomo@openssl.org