cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: TLS1.2 from TLS1.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Sep 2015 12:21:08 +0200 (CEST)

On Wed, 30 Sep 2015, Praveen Pvs wrote:

> When i commented out the following line, then it auto negotiated to TLS 1.2
> version. Is the following line setting to use up-to TLS 1.0 only?
>
> /* To set preferred TLS/SSL version */
> curl_easy_setopt(loccurlHandle, *CURLOPT_SSLVERSION*,
> *CURL_SSLVERSION_TLSv1*);

No it isn't, but maybe you're using a too old libcurl version for that?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-30