"Igor Mironchik" <[email protected]> wrote:
But now I have the following problems:
.\crypto\ec\ec_asn1.c(260) : error C2370: 'ECPKPARAMETERS_it' :
redefinition; di
fferent storage class
.\crypto\ec\ec_asn1.c(258) : see declaration of 'ECPKPARAMETERS_it'
.\crypto\ec\ec_asn1.c(261) : error C2370: 'ECPKPARAMETERS_it' :
redefinition; different storage class
And this is when you're trying to build the DLLs? I think it's because the
Makefile lacks a '-DOPENSSL_EXPORT_VAR_AS_FUNCTION=1'.
Hard to follow the contorted mess with the macros in the headers, but
that fixed it for me some time ago. In crypto/ec/ec_asn1.c:
ASN1_CHOICE(ECPKPARAMETERS) = {
ASN1_SIMPLE(ECPKPARAMETERS, value.named_curve, ASN1_OBJECT),
ASN1_SIMPLE(ECPKPARAMETERS, value.parameters, ECPARAMETERS),
ASN1_SIMPLE(ECPKPARAMETERS, value.implicitlyCA, ASN1_NULL)
} ASN1_CHOICE_END(ECPKPARAMETERS)
Add an '-E' to your CFLAGS and see what it really expands to. It should differ
when you create a static lib or a DLL.
--gv
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]