1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-18 07:25:14 -05:00
curl/lib/vtls
Daniel Stenberg 880cd5dd20
strerror: make the strerror function use local buffers
Instead of using a fixed 256 byte buffer in the connectdata struct.

In my build, this reduces the size of the connectdata struct by 11.8%,
from 2160 to 1904 bytes with no functionality or performance loss.

This also fixes a bug in schannel's Curl_verify_certificate where it
called Curl_sspi_strerror when it should have called Curl_strerror for
string from GetLastError. the only effect would have been no text or the
wrong text being shown for the error.

Co-authored-by: Jay Satiro

Closes #3612
2019-02-26 10:20:21 +01:00
..
cyassl.c wolfssl: stop custom-adding curves 2019-02-23 11:47:24 +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: add support for TLS ASYNC state 2019-02-25 13:53:47 +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 strerror: make the strerror function use local buffers 2019-02-26 10:20:21 +01:00
schannel.c strerror: make the strerror function use local buffers 2019-02-26 10:20:21 +01: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