Closed
Description
I noticed that after a curl_global_cleanup
it's not possible to curl_global_sslset
and curl_global_init
again in order to change the ssl backend.
This can be achieved in vtls.c by setting back the Curl_ssl = &Curl_ssl_multi
after the Curl_ssl_cleanup
The idea is to be able to change the backend in this sequence:
curl_global_sslset(CURLSSLBACKEND_SCHANNEL, NULL, NULL);
curl_global_init(CURL_GLOBAL_DEFAULT);
//....
curl_global_cleanup();
curl_global_sslset(CURLSSLBACKEND_OPENSSL, NULL, NULL);
curl_global_init(CURL_GLOBAL_DEFAULT);
//....
curl_global_cleanup();
Thanks