diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-23 00:22:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-28 14:56:56 +0200 |
commit | 52e8237bfc66a2a8324dbb558c1f0704aa0f8c0e (patch) | |
tree | 6b192ee480dd9a48f71a3cbeb0a3e78ab0c624d1 /lib/vtls/gskit.h | |
parent | e09bb63ed8e7d1a7448c42078d511f44bc4c258c (diff) | |
download | curl-52e8237bfc66a2a8324dbb558c1f0704aa0f8c0e.tar.gz |
vtls: use the Curl_ssl struct to access all SSL backends' functionality
This is the first step to unify the SSL backend handling. Now all the
SSL backend-specific functionality is accessed via a global instance of
the Curl_ssl struct.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/gskit.h')
-rw-r--r-- | lib/vtls/gskit.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/vtls/gskit.h b/lib/vtls/gskit.h index b329104d5..42856d329 100644 --- a/lib/vtls/gskit.h +++ b/lib/vtls/gskit.h @@ -52,25 +52,6 @@ extern const struct Curl_ssl Curl_ssl_gskit; /* this backend supports CURLOPT_CERTINFO */ #define have_curlssl_certinfo 1 -/* API setup for GSKit */ -#define curlssl_init Curl_gskit_init -#define curlssl_cleanup Curl_gskit_cleanup -#define curlssl_connect Curl_gskit_connect -#define curlssl_connect_nonblocking Curl_gskit_connect_nonblocking - -/* No session handling for GSKit */ -#define curlssl_session_free(x) Curl_nop_stmt -#define curlssl_close_all(x) ((void)x) -#define curlssl_close Curl_gskit_close -#define curlssl_shutdown(x,y) Curl_gskit_shutdown(x,y) -#define curlssl_set_engine(x,y) CURLE_NOT_BUILT_IN -#define curlssl_set_engine_default(x) CURLE_NOT_BUILT_IN -#define curlssl_engines_list(x) NULL -#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) (x=x, y=y, z=z, CURLE_NOT_BUILT_IN) - #endif /* USE_GSKIT */ #endif /* HEADER_CURL_GSKIT_H */ |