cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about libcurl and ssl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 31 May 2005 09:12:25 +0200 (CEST)

On Mon, 30 May 2005, Edward Chan wrote:

> I want to use libcurl for https connections. I've downloaded the source and
> built it on windows using the curllib.dsp in the lib directory. I have also
> downloaded and built the OpenSSL libraries. Do I need to do anything
> special to build libcurl to use SSL?

Yes, you need to enable SSL.

There are existing makefiles with targets that do this for you, but if you
really want the MSVC IDE way, do this:

- Define USE_SSLEAY in the CFLAGS

- Add include path to OpenSSL

- Add libeay32.lib ssleay32.lib to libs to link with

- Add path to the OpenSSL libs to the link path

Rebuild.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-31