cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to specify SSL version 2 using curl_easy_setopt() ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Apr 2014 14:47:55 +0200 (CEST)

On Mon, 21 Apr 2014, dev wrote:

> Well that seems to tell me the remote end is a vsFTPd version 2.0.1 thing of
> some sort. It wants me to use sslv2 for some reason and I don't know how to
> enforce that via curl_easy_setopt().

SSLv2 is insecure and these days often not even supported by SSL libraries
unless you've explicitly made it so and built your own. But CURLOPT_SSLVERSION
is the libcurl option you use and you set it to CURL_SSLVERSION_SSLv2 if you
really want to go down that path of tears and pain.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-22