summaryrefslogtreecommitdiff
path: root/lib/vtls/gskit.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-22 16:45:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 14:56:56 +0200
commite09bb63ed8e7d1a7448c42078d511f44bc4c258c (patch)
treebb4318427f467ede0dfa8c237fb5a52fac8cbf6c /lib/vtls/gskit.h
parente7e03e47d4113bcac4340bdd83cf5af4991920ad (diff)
downloadcurl-e09bb63ed8e7d1a7448c42078d511f44bc4c258c.tar.gz
vtls: declare Curl_ssl structs for every SSL backend
The idea of introducing the Curl_ssl struct was to unify how the SSL backends are declared and called. To this end, we now provide an instance of the Curl_ssl struct for each and every SSL backend. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/gskit.h')
-rw-r--r--lib/vtls/gskit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/gskit.h b/lib/vtls/gskit.h
index 229759217..b329104d5 100644
--- a/lib/vtls/gskit.h
+++ b/lib/vtls/gskit.h
@@ -44,6 +44,8 @@ int Curl_gskit_check_cxn(struct connectdata *cxn);
/* Support HTTPS-proxy */
/* TODO: add '#define HTTPS_PROXY_SUPPORT 1' and fix test #1014 (if need) */
+extern const struct Curl_ssl Curl_ssl_gskit;
+
/* Set the API backend definition to GSKit */
#define CURL_SSL_BACKEND CURLSSLBACKEND_GSKIT