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.

Re: Callback to get the OpenSSL SSL object?

From: Felipe Gasper via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 2 Jul 2020 09:44:41 -0400

> On Jul 1, 2020, at 6:35 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Wed, 1 Jul 2020, Felipe Gasper via curl-library wrote:
>
>> I see that CURLOPT_SSL_CTX_FUNCTION exists, but is there any way to get the SSL object, not just the SSL_CTX?
>
> curl_easy_getinfo(... CURLINFO_TLS_SSL_PTR ...) maybe?

Could this be used to specify an HTTP header, though? There doesn’t seem to be a callback point for when this value is first populated.

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