http://bugs.winehq.org/show_bug.cgi?id=15707
Summary: winhttp: winhttp.ok test fails in OpenSolaris Product: Wine Version: 1.1.6 Platform: PC OS/Version: Solaris Status: NEW Keywords: source, testcase Severity: normal Priority: P2 Component: winhttp AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=16786) --> (http://bugs.winehq.org/attachment.cgi?id=16786) +winhttp in git
../../../tools/runtest -q -P wine -M winhttp.dll -T ../../.. -p winhttp_test.exe.so winhttp.c && touch winhttp.ok err:winhttp:netconn_init Failed to load symbol i2d_X509 winhttp.c:740: Test failed: failed to open a request 12157 winhttp.c:743: Test failed: failed to send request 6 winhttp.c:747: Test failed: failed to retrieve certificate context 6 winhttp.c:751: Test failed: failed to retrieve key bitness 6 winhttp.c:754: Test failed: failed to receive response 6 winhttp.c:758: Test failed: failed unexpectedly 6 winhttp.c:759: Test failed: request failed unexpectedly 1 fixme:winhttp:set_option unimplemented option 63 fixme:winhttp:request_query_option unimplemented option 63 fixme:winhttp:request_query_option unimplemented option 63 make: *** [winhttp.ok] Error 7
+winhttp attached
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #1 from Austin English austinenglish@gmail.com 2008-12-05 19:21:04 --- Still present in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=15707
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #2 from Hans Leidekker hans@meelstraat.net 2008-12-11 07:44:29 ---
err:winhttp:netconn_init Failed to load symbol i2d_X509
Your openssl library is missing a function, it's probably outdated.
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-11 09:50:45 --- I'm not at that box at the moment, but according to google (http://pkg.opensolaris.org/release/en/search.shtml?token=openssl&action=...)
it's using 0.9.8. According to http://openssl.org/docs/crypto/d2i_X509.html, that function is available since at least 0.9.7...
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #4 from Austin English austinenglish@gmail.com 2009-03-02 03:05:32 --- Information for installed package:
Description: OpenSSL Commands Name: SUNWopenssl FMRI: pkg:/SUNWopenssl@0.9.8,5.11-0.101:20081119T235257Z Version: 0.9.8-0.101 Packaged: 2008-11-19 23:52:57
austin@opensolaris:~$ ls /usr/sfw/include/openssl/x509* /usr/sfw/include/openssl/x509.h /usr/sfw/include/openssl/x509v3.h /usr/sfw/include/openssl/x509_vfy.h
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #5 from Austin English austinenglish@gmail.com 2009-03-02 20:39:14 --- Created an attachment (id=19759) --> (http://bugs.winehq.org/attachment.cgi?id=19759) /usr/sfw/include/openssl, bzip2 -9'ed
Here's a tarball of /usr/sfw/include/openssl...grepping for id2_X509 shows nothing (same as my ubuntu install). grep X509 | wc -l shows 1917, ubuntu shows 1895. (Ubuntu has 0.9.8g-10.1ubuntu2.1 installed.
Are you still sure it's missing a function? If so, which one?
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2009-03-04 04:59:28 --- It's i2d_X509 that's missing, not id2_X509.
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #7 from Austin English austinenglish@gmail.com 2009-03-04 13:53:30 --- (In reply to comment #6)
It's i2d_X509 that's missing, not id2_X509.
A quick grep shows it's present in OpenSolaris as well. See attachment.
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #8 from Austin English austinenglish@gmail.com 2009-03-04 13:54:30 --- Created an attachment (id=19787) --> (http://bugs.winehq.org/attachment.cgi?id=19787) function list from headers, ubuntu vs opensolaris
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #9 from Hans Leidekker hans@meelstraat.net 2009-03-04 15:13:46 --- Created an attachment (id=19790) --> (http://bugs.winehq.org/attachment.cgi?id=19790) winhttp: Load i2d_X509 from libcrypto.so.
Could be that i2d_X509 is exported from libcrypto.so only on OpenSolaris, whereas it's exported from both libssl.so and libcrypto.so on Ubuntu. Can you try this patch?
http://bugs.winehq.org/show_bug.cgi?id=15707
--- Comment #10 from Austin English austinenglish@gmail.com 2009-03-04 19:14:01 --- (In reply to comment #9)
Created an attachment (id=19790)
--> (http://bugs.winehq.org/attachment.cgi?id=19790) [details]
winhttp: Load i2d_X509 from libcrypto.so.
Could be that i2d_X509 is exported from libcrypto.so only on OpenSolaris, whereas it's exported from both libssl.so and libcrypto.so on Ubuntu. Can you try this patch?
Works like a charm. Test passes now, thanks!
http://bugs.winehq.org/show_bug.cgi?id=15707
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2009-03-05 12:18:33 --- Fixed by a7b70911b348cb15244379cb6eaec1c4841b08c8.
http://bugs.winehq.org/show_bug.cgi?id=15707
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2009-03-13 11:15:41 --- Closing bugs fixed in 1.1.17.