1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/lib/vtls
Marcel Raad a4ff8a1a0e
nss: fix MinGW compiler warnings
This fixes 3 warnings issued by MinGW:
1. PR_ImportTCPSocket actually has a paramter of type PROsfd instead of
PRInt32, which is 64 bits on Windows. Fixed this by including the
corresponding header file instead of redeclaring the function, which is
supported even though it is in the private include folder. [1]
2. In 64-bit mode, size_t is 64 bits while CK_ULONG is 32 bits, so an explicit
narrowing cast is needed.
3. Curl_timeleft returns time_t instead of long since commit
21aa32d30d.

[1] https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/PR_ImportTCPSocket

Closes https://github.com/curl/curl/pull/1393
2017-04-18 16:38:04 +02:00
..
axtls.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
axtls.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
cyassl.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
cyassl.h cyassl: fix typo 2017-02-21 22:24:39 -05:00
darwinssl.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
darwinssl.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
gskit.c spelling fixes 2017-03-26 23:56:23 +02:00
gskit.h curl_version_info: add CURL_VERSION_HTTPS_PROXY 2016-11-26 17:28:53 +01:00
gtls.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
gtls.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
mbedtls.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
mbedtls.h mbedtls: add support for CURLOPT_SSL_CTX_FUNCTION 2017-03-21 23:51:44 -04:00
nss.c nss: fix MinGW compiler warnings 2017-04-18 16:38:04 +02:00
nssg.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
openssl.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
openssl.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
polarssl_threadlock.c Curl_polarsslthreadlock_thread_setup: clear array at init 2016-10-18 13:05:43 +02:00
polarssl_threadlock.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
polarssl.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
polarssl.h polarssl: fix hangs 2017-01-28 19:47:08 +01:00
schannel.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
schannel.h rand: make it work without TLS backing 2017-01-12 17:44:21 +01:00
vtls.c TLS: Fix switching off SSL session id when client cert is used 2017-04-18 07:56:34 +02:00
vtls.h checksrc: code style: use 'char *name' style 2016-11-24 23:58:22 +01:00