[openssl-dev] [openssl.org #4640] Bug DLL is missing symbol after building with no-comp

Chris via RT rt at openssl.org
Fri Aug 5 22:45:41 UTC 2016


OpenSSL 1.0.2h, Windows 7 x64, building Win32, using Visual Studio 2010 build environment.



 
perl Configure VC-WIN32 no-asm no-hw no-symlinks no-srp no-camellia no-idea no-seed no-gost no-gmp no-krb5 no-mdc2 no-rc5 no-rfc3779 no-shared no-zlib no-zlib-dynamic no-comp no-md2 no-rc2 no-sslv2 no-dso -DOPENSSL_NO_HEARTBEATS -DPURIFY


 
perl util\mkfiles.pl > MINFO

perl util\mk1mf.pl no-asm VC-WIN32 > ms\nt.mak

perl util\mk1mf.pl no-asm dll VC-WIN32 > ms\ntdll.mak


 
perl util\mkdef.pl 32 libeay > ms\libeay32.def

perl util\mkdef.pl 32 ssleay > ms\ssleay32.def


 
Symbol “SSL_COMP_get_compression_methods” is excluded from ssleay32.def file.  Even though the function still exists when no-comp is used.


 
Leading to failure loading tools and utilities which call this function, but can operate without compression. (like apache mod_ssl.so)


Removing "COMP" from the prerequisites in util/ssleay.num did not result in mkddef.pl producing correct output, but it's unclear why.

Manually adding "SSL_COMP_get_compression_methods @276" to ssleay32.def and relinking the DLL resolves the issue.


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4640
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list