"Igor Mironchik" <igor.mironc...@gmail.com> 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'.
Yes. This is when I was trying to build DLLs. I removed all sources and
unarchive new one. And do the same except that at this time I ran "perl
Configure VC-WIN32" first. And then as usual "ms\do_nasm " and "nmake -f
ms\ntdll.mak " and all become Ok.
I don't know what it was. Thanks.
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 openssl-users@openssl.org
Automated List Manager majord...@openssl.org
--
Best Regards,
Igor Mironchik.