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
