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/darwinssl.c | |
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/darwinssl.c')
-rw-r--r-- | lib/vtls/darwinssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index 90618bdce..cedd0e00e 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -2878,6 +2878,8 @@ const struct Curl_ssl Curl_ssl_darwinssl = { Curl_darwinssl_false_start /* false_start */ }; +const struct Curl_ssl *Curl_ssl = &Curl_ssl_darwinssl; + #ifdef __clang__ #pragma clang diagnostic pop #endif |