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: how to force use schannel functions?

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 3 Jul 2020 01:34:40 -0400

On 7/3/2020 12:55 AM, Vermeire, Baudewijn via curl-library wrote:
>
> how can i force curl to use Schannel.c functions?
> �I have configured to use native ssl as well as others, so i would
> expect Schannel is used on windows?
>
> Sorry if this is a stupid question.
>
> OpenSSL library functions are called instead.
>
> Windows 10 Pro , Curl 7.68.
>

For the curl tool set environment variable CURL_SSL_BACKEND=schannel

For libcurl call curl_global_sslset with CURLSSLBACKEND_SCHANNEL [1].

[1]: https://curl.haxx.se/libcurl/c/curl_global_sslset.html

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