I added file "crypto/cms/cms_lcl.h" intovariable $crypto in source file
util/mkdef.pl:339.
Then I called the following commands:
perl util/mkdef.pl crypto update
perl Configure enable-md2 VC-WIN32
ms\do_nasm
nmake -f ms\ntdll_ica.mak
with this result:
link /nologo /subsystem:console /opt:ref /debug /dll
/out:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\Users\Libor\AppData\Local\Temp\nm2A81.tmp
LIBEAY32.def : error LNK2001: unresolved external symbol
CMS_IssuerAndSerialNumber_free
LIBEAY32.def : error LNK2001: unresolved external symbol
CMS_IssuerAndSerialNumber_new
out32dll\libeay32.lib : fatal error LNK1120: 2 unresolved externals
The reason for this error is that in source files is missing
"IMPLEMENT_ASN1_ALLOC_FUNCTIONS(CMS_IssuerAndSerialNumber)".
Libor
Kurt Roeckx via RT napsal(a), Dne 29.5.2014 21:11:
>> diff -uNr openssl-1.0.1g/crypto/cms/cms_lcl.h
>> openssl-1.0.1g-ICA/crypto/cms/cms_lcl.h
>> --- openssl-1.0.1g/crypto/cms/cms_lcl.h 2014-03-17 17:14:20.0
>> +0100
>> +++ openssl-1.0.1g-ICA/crypto/cms/cms_lcl.h 2014-05-23 12:01:00.0
>> +0200
>> @@ -418,7 +418,7 @@
>> DECLARE_ASN1_ITEM(CMS_Attributes_Verify)
>> DECLARE_ASN1_ITEM(CMS_RecipientInfo)
>> DECLARE_ASN1_ITEM(CMS_PasswordRecipientInfo)
>> -DECLARE_ASN1_ALLOC_FUNCTIONS(CMS_IssuerAndSerialNumber)
>> +/* DECLARE_ASN1_ALLOC_FUNCTIONS(CMS_IssuerAndSerialNumber) */
> Is there some reason for this?
>
>
> Kurt
>
>
__
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager majord...@openssl.org