curl / Mailing Lists / curl-library / Single Mail

curl-library

RE: cURL with openSSL 1.1.1 version

From: Swamy J-S via curl-library <curl-library_at_cool.haxx.se>
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,
SWAMY J S

-----Original Message-----
From: Daniel Stenberg <daniel_at_haxx.se>
Sent: Tuesday, March 19, 2019 2:27 PM
To: Swamy J-S via curl-library <curl-library_at_cool.haxx.se>
Cc: Swamy J-S <swamy.j-s_at_in.abb.com>
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 ,
> CURLOPT_SSL_VERIFYHOST, CURLOPT_SSL_CTX_FUNCTION, CURLOPT_SSL_CTX_DATA etc.
>
> 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.

--
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-21