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?