1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-11 22:18:00 -05:00
curl/lib/vtls
Jay Satiro 5b22e1a5a9 strerror: Add Curl_winapi_strerror for Win API specific errors
- In all code call Curl_winapi_strerror instead of Curl_strerror when
  the error code is known to be from Windows GetLastError.

Curl_strerror prefers CRT error codes (errno) over Windows API error
codes (GetLastError) when the two overlap. When we know the error code
is from GetLastError it is more accurate to prefer the Windows API error
messages.

Reported-by: Richard Alcock

Fixes https://github.com/curl/curl/issues/4550
Closes https://github.com/curl/curl/pull/4581
2019-12-01 18:12:36 -05:00
..
bearssl.c TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
bearssl.h TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
gskit.c gskit: use the generic Curl_socketpair 2019-10-10 11:04:38 +02:00
gskit.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
gtls.c gtls: make gnutls_bye() not wait for response on shutdown 2019-10-31 09:10:50 +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: add error message for cert validity starting in the future 2019-11-02 22:59:13 +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 vtls: fix narrowing conversion warnings 2019-09-23 09:44:35 +02:00
nssg.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
openssl.c openssl: Revert to less sensitivity for SYSCALL errors 2019-11-22 22:29:39 -05:00
openssl.h vtls: fold the backend ID into the Curl_ssl structure 2017-08-28 14:56:58 +02:00
polarssl_threadlock.c copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
polarssl_threadlock.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
polarssl.c vtls: fix narrowing conversion warnings 2019-09-23 09:44:35 +02:00
polarssl.h copyrights: fix copyright year range 2019-11-08 14:51:42 +01:00
schannel_verify.c strerror: Add Curl_winapi_strerror for Win API specific errors 2019-12-01 18:12:36 -05:00
schannel.c schannel: fix --tls-max for when min is --tlsv1 or default 2019-11-24 03:16:26 -05:00
schannel.h schannel: use Curl_ prefix for global private symbols 2018-11-01 09:39:45 +01:00
sectransp.c vtls: Fix comment typo about macosx-version-min compiler flag 2019-09-27 01:46:49 -04:00
sectransp.h Secure Transport: no more "darwinssl" 2019-02-28 08:42:59 +01:00
vtls.c TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
vtls.h TLS: add BearSSL vtls implementation 2019-11-26 08:32:23 +01:00
wolfssl.c wolfssl: fix key pinning build error 2019-06-11 07:46:04 +02:00
wolfssl.h wolfssl: refer to it as wolfSSL only 2019-06-10 09:18:16 +02:00