curl / Mailing Lists / curl-library / Single Mail


RE: cURL with openSSL 1.1.1 version

From: Swamy J-S via curl-library <>
Date: Thu, 21 Mar 2019 05:06:53 +0000

Hi Daniel,

Thanks for the reply. I didn't understand the last point what you mentioned about curl handle. I can't use the handle passed in the exact same way before means any changes in curl handling options?

Right now am using curl_global_init(), curl_easy_init(), curl_easy_setopt(), curl_easy_perform() and other curl functions in my code.

So if I upgrade to openssl 1.1.1(adding it through untrusted repository{"sudo add-apt-repository ppa:ci-train-ppa-service/3473"}) in Ubuntu 18.04 OS with curl 7.58.0, Will it affect any functionality?

Thanks and Regards,

-----Original Message-----
From: Daniel Stenberg <>
Sent: Tuesday, March 19, 2019 2:27 PM
To: Swamy J-S via curl-library <>
Cc: Swamy J-S <>
Subject: Re: cURL with openSSL 1.1.1 version

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Tue, 19 Mar 2019, Swamy J-S via curl-library wrote:

> As openssl 1.0.2 support will end this year, I want to upgrade my
> openssl to
> 1.1.1 branch.
> Right now my code uses curl library with libcurl4 and gnuTLS as SSL backend.
> Am using many curl options such as CURLOPT_SSL_VERIFYPEER ,
> If I upgrade openssl to 1.1.1 then all these curl options will be
> working fine? Or should I upgrade curl and other things also?? If you
> have any document or release notes regarding this the please let me know.

These options still work exactly the same from a curl perspective. OpenSSL however changed a bit from 1.0.2 to 1.1.1 so there's a risk that you can't use the handle passed to CURLOPT_SSL_CTX_FUNCTION in the exact same way as before.

Received on 2019-03-21