cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simplest https program using libcurl compiled with SSH support

From: Katie Scott <katie_at_singularpoint.com>
Date: Wed, 27 Feb 2013 13:23:12 -0800

What I don't understand is that compiling the curl exe only requires
linking to the libcurl that has ssl support - and I get https available.

Why would this be any different?

On Wed, Feb 27, 2013 at 9:44 AM, Török Edwin <edwin+ml-curl_at_etorok.net>wrote:

> On 02/27/2013 07:26 PM, Katie Scott wrote:
> > Hello World,
> >
> > I am slowly learning how to program with libcurl and am working my way
> through example code.
> >
> > Thank you Andrei Jakab for the information about compiling libcurl with
> SSH support in Visual Studio 2010.
> >
> > I must admit to being new to BOTH libcurl and Windows-based programming
> and I seem to have a problem integrating the two worlds completely.
> >
> > I snagged the simplest https program from the curl.haxx.se <
> http://curl.haxx.se> website and exchanged the example.com <
> http://example.com> with one that I know will respond with a simple web
> page
> > when I go to it with my browser.
> >
> > No matter what I do (so far) I keep getting the error message
> > curl_easy_perform() failed: Unsupported protocol
> >
> > I am linking to the library I compiled with SSH support - proven by my
> ability to compile the curl app.
>
> Try linking with OpenSSL to get https support. SSH has nothing to do with
> https.
>
> --Edwin
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-27