1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00
curl/lib/vtls
Daniel Gustafsson 0299b262cd mbedtls: release sessionid resources on error
If mbedtls_ssl_get_session() fails, it may still have allocated
memory that needs to be freed to avoid leaking. Call the library
API function to release session resources on this errorpath as
well as on Curl_ssl_addsessionid() errors.

Closes: #3574
Reported-by: Michał Antoniak <M.Antoniak@posnet.com>
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2019-02-16 22:30:31 +01:00
..
cyassl.c wolfssl: Perform cleanup 2018-12-20 11:32:55 +01:00
cyassl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
darwinssl.c darwinssl: accept setting max-tls with default min-tls 2018-12-14 09:54:31 +01:00
darwinssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gskit.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
gskit.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
gtls.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
gtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
mbedtls.c mbedtls: release sessionid resources on error 2019-02-16 22:30:31 +01:00
mbedtls.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
mesalink.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
mesalink.h vtls: add a MesaLink vtls backend 2018-09-13 08:26:37 +02:00
nss.c nss: Fix compatibility with nss versions 3.14 to 3.15 2018-12-05 15:24:32 +01:00
nssg.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
openssl.c openssl: fix the SSL_get_tlsext_status_ocsp_resp call 2019-01-16 08:20:57 +01:00
openssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
polarssl_threadlock.c code style: use spaces around equals signs 2017-09-11 09:29:50 +02:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
polarssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
schannel_verify.c schannel: fix compiler warning 2019-01-06 23:09:19 +01:00
schannel.c schannel: restore some debug output but only for debug builds 2019-02-12 19:54:08 -05:00
schannel.h schannel: use Curl_ prefix for global private symbols 2018-11-01 09:39:45 +01:00
vtls.c curl_global_sslset(): id == -1 is not necessarily an error 2018-12-07 11:38:22 +01:00
vtls.h axtls: removed 2018-11-01 10:29:53 +01:00