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
cyassl.h
darwinssl.c
darwinssl.h
gskit.c
gskit.h
gtls.c
gtls.h
mbedtls.c
mbedtls.h
mesalink.c
mesalink.h
nss.c
nssg.h
openssl.c
openssl.h
polarssl_threadlock.c
polarssl_threadlock.h
polarssl.c
polarssl.h
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
vtls.c
vtls.h