summaryrefslogtreecommitdiffstats
path: root/lib/vtls/gskit.h
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2016-12-22 15:41:14 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-07 16:37:30 (GMT)
commit4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (patch)
treeef3a36a4eb9b0c43881db54e61574378e104b936 /lib/vtls/gskit.h
parent93cc249f3dd7ecd621cd063e4c08bbdb54d971e8 (diff)
downloadCMake-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/gskit.h')
-rw-r--r--lib/vtls/gskit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/vtls/gskit.h b/lib/vtls/gskit.h
index 41483cb..2297592 100644
--- a/lib/vtls/gskit.h
+++ b/lib/vtls/gskit.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -41,6 +41,9 @@ int Curl_gskit_shutdown(struct connectdata *conn, int sockindex);
size_t Curl_gskit_version(char *buffer, size_t size);
int Curl_gskit_check_cxn(struct connectdata *cxn);
+/* Support HTTPS-proxy */
+/* TODO: add '#define HTTPS_PROXY_SUPPORT 1' and fix test #1014 (if need) */
+
/* Set the API backend definition to GSKit */
#define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT
@@ -64,7 +67,7 @@ int Curl_gskit_check_cxn(struct connectdata *cxn);
#define curlssl_version Curl_gskit_version
#define curlssl_check_cxn(x) Curl_gskit_check_cxn(x)
#define curlssl_data_pending(x,y) 0
-#define curlssl_random(x,y,z) -1
+#define curlssl_random(x,y,z) (x=x, y=y, z=z, CURLE_NOT_BUILT_IN)
#endif /* USE_GSKIT */