curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

7.58.0 curl_global_sslset returns CURLSSLSET_TOO_LATE

From: Pawel Veselov via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 28 Jan 2020 19:17:27 +0100

Hello.

I have a simple prologue code in my program to select SSL backend. It works
on relatively
recent versions (e.g. 7.65), but specifically on 7.58 ("latest" for Ubuntu
18),
curl_global_sslset() returns CURLSSLSET_TOO_LATE.
I thought somebody else may be calling init function, but I can see from
the source code
that it simply returns TOO_LATE if there are no multiple SSL backends, and
if ID
doesn't match the ID of the backend that was actually compiled in.

Could you please save me some investigative time and let me know in which
version
was this changed so that calling this with without IDs returns list of
available backends even
in case of single backend?

Thank you! :)

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-01-28