On Sun, Mar 18, 2012, yushang wrote:

> Hi all,
> I'm compiling openssl-0.9.8p on Windows and find a strange thing in
> crypto/err/err_all.c , for example ,
> the original declaration in crypto/store/store.h(line 390) is
> ...
> X509_NAME *STORE_ATTR_INFO_get0_dn(STORE_ATTR_INFO *attrs,
> STORE_ATTR_TYPES code);
> ..
> after preprocessing of crypto/err/err_all.c it becomes this :
> ...
> ((LPCSTR) 7) *STORE_ATTR_INFO_get0_dn(STORE_ATTR_INFO *attrs,
> STORE_ATTR_TYPES code);
> ...
> compiler complain this as C2059 , could someone help me with this ,
> many thanks !

This is caused by a clash with MS header files. OpenSSL *should* include a:

#undef X509_NAME

to get round this in the header files. I'm not sure why it isn't happening
in this case. If you're enabling store in the configuration then don't: it
doesn't do anything at present.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to