diff options
author | Curl Upstream <curl-library@cool.haxx.se> | 2016-12-22 15:41:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-07 16:37:30 (GMT) |
commit | 4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (patch) | |
tree | ef3a36a4eb9b0c43881db54e61574378e104b936 /lib/vtls/gtls.h | |
parent | 93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (diff) | |
download | CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.zip CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.gz CMake-4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab.tar.bz2 |
curl 2016-12-22 (44b9b4d4)
Code extracted from:
https://github.com/curl/curl.git
at commit 44b9b4d4f56d6f6de92c89636994c03984e9cd01 (curl-7_52_1).
Diffstat (limited to 'lib/vtls/gtls.h')
-rw-r--r-- | lib/vtls/gtls.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/vtls/gtls.h b/lib/vtls/gtls.h index e0a95a7..6531201 100644 --- a/lib/vtls/gtls.h +++ b/lib/vtls/gtls.h @@ -34,6 +34,8 @@ CURLcode Curl_gtls_connect(struct connectdata *conn, int sockindex); CURLcode Curl_gtls_connect_nonblocking(struct connectdata *conn, int sockindex, bool *done); +bool Curl_gtls_data_pending(const struct connectdata *conn, + int connindex); /* close a SSL connection */ void Curl_gtls_close(struct connectdata *conn, int sockindex); @@ -55,6 +57,9 @@ void Curl_gtls_sha256sum(const unsigned char *tmp, /* input */ bool Curl_gtls_cert_status_request(void); +/* Support HTTPS-proxy */ +#define HTTPS_PROXY_SUPPORT 1 + /* Set the API backend definition to GnuTLS */ #define CURL_SSL_BACKEND CURLSSLBACKEND_GNUTLS @@ -81,7 +86,7 @@ bool Curl_gtls_cert_status_request(void); #define curlssl_engines_list(x) ((void)x, (struct curl_slist *)NULL) #define curlssl_version Curl_gtls_version #define curlssl_check_cxn(x) ((void)x, -1) -#define curlssl_data_pending(x,y) ((void)x, (void)y, 0) +#define curlssl_data_pending(x,y) Curl_gtls_data_pending(x,y) #define curlssl_random(x,y,z) Curl_gtls_random(x,y,z) #define curlssl_md5sum(a,b,c,d) Curl_gtls_md5sum(a,b,c,d) #define curlssl_sha256sum(a,b,c,d) Curl_gtls_sha256sum(a,b,c,d) |