cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simplest https program using libcurl compiled with SSH support

From: Török Edwin <edwin+ml-curl_at_etorok.net>
Date: Wed, 27 Feb 2013 19:44:45 +0200

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
Received on 2013-02-27