1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
curl/lib/vtls
Johannes Schindelin ff7a3107ed
multi-ssl: reset the SSL backend on Curl_global_cleanup()
When cURL is compiled with support for multiple SSL backends, it is
possible to configure an SSL backend via `curl_global_sslset()`, but
only *before* `curl_global_init()` was called.

If another SSL backend should be used after that, a user might be
tempted to call `curl_global_cleanup()` to start over. However, we did
not foresee that use case and forgot to reset the SSL backend in that
cleanup.

Let's allow that use case.

Fixes #5255
Closes #5257
Reported-by: davidedec on github
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-04-20 09:15:47 +02:00
..
bearssl.c bearssl: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
bearssl.h TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
gskit.c gskit: update the copyright year range 2020-03-15 23:43:50 +01:00
gskit.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
gtls.c gnutls: ensure TLS 1.3 when SRP isn't requested 2020-04-13 00:06:02 +02:00
gtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
mbedtls_threadlock.c polarssl: removed 2020-01-16 11:55:56 +01:00
mbedtls_threadlock.h polarssl: removed 2020-01-16 11:55:56 +01:00
mbedtls.c mbedtls: remove the BACKEND define kludge 2020-03-19 13:22:35 +01:00
mbedtls.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
mesalink.c vtls: fix narrowing conversion warnings 2019-09-23 09:44:35 +02:00
mesalink.h vtls: add a MesaLink vtls backend 2018-09-13 08:26:37 +02:00
nss.c nss: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
nssg.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
openssl.c cleanup: insert newline after if() conditions 2020-03-30 16:05:30 +02:00
openssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
schannel_verify.c schannel: add "best effort" revocation check option 2020-03-18 03:23:39 -04:00
schannel.c schannel: Fix blocking timeout logic 2020-04-12 18:32:17 -04:00
schannel.h schannel: use Curl_ prefix for global private symbols 2018-11-01 09:39:45 +01:00
sectransp.c secure transport: remove the BACKEND define kludge 2020-03-19 13:22:46 +01:00
sectransp.h Secure Transport: no more "darwinssl" 2019-02-28 08:42:59 +01:00
vtls.c multi-ssl: reset the SSL backend on Curl_global_cleanup() 2020-04-20 09:15:47 +02:00
vtls.h version: make curl_version* thread-safe without using global context 2020-03-07 12:10:11 +01:00
wolfssl.c wolfssl: remove the BACKEND define kludge 2020-03-19 13:22:34 +01:00
wolfssl.h wolfssl: refer to it as wolfSSL only 2019-06-10 09:18:16 +02:00