cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: Curl hangs after SSL cert verify

From: Darrell Bircsak <dbircsak_at_cogentsystems.com>
Date: Fri, 10 Jun 2005 13:07:02 -0700

I can't figure out how to reply on these messages. Heh.

OKAY! I got it!

Experiment:
Tried to connect with CURL.EXE 7.14 .... It connected.
Tried to connect with CURL.EXE 7.13 .... It hung. Hmmm...

Then I noticed the only available libcurl with SSL for Windows
pre-compile is 7.13.

Okay so somehow the hang after SSL Cert connect was fixed. Now I just
need to compile SSL into 7.14.

Process to make libcurl 7.14 with SSL ::
Download Curl 7.14 source
Download OpenSSL 0.9.7g
Download ActivePerl & install (From OpenSSL instructions)
Copy openssl-0.9.7g\inc32\openssl directory to curl-7.14.0\lib
Go to cmd prompt and run vcvars32.bat from MSVC /bin dir.
Go to openssl-0.9.7g dir and type "ms\32all.bat" (Will call "perl" ...
Hence the ActivePerl requirement)
Wait for it to finish compiling (long process)
Copy openssl-0.9.7g\out32dll\libeay32.dll/.lib and ssleay32.dll/.lib to
curl-7.14.0\lib and add libeay32.lib and ssleay32.lib to MSVC Build
Settings Linking list thing.
Build libcurl

Good luck folks!!

Darrell

P.S. Actually the out32dll.dbg worked for me...it would die at run time
with the other dlls. I don't know why. (Beyond my comprehension.)
Received on 2005-06-10