curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: use libcurl in a customized environment

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Dec 2016 09:17:44 +0100 (CET)

On Wed, 14 Dec 2016, Fan Zhang wrote:

> In my case, I have a customized TLS library which basically provides a
> read/write interface. Can you shed some more light on how libcurl interact
> with TLS interface?

You then create a new TLS backend (or modify an existing). See curl/lib/vtls/
for the existing backends and especially their header files for how they
define the "curlssl_*" functions.

The generic libcurl code only calls the SSL functions and the API that are
offered in the vtls/vtls.c file.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-12-15