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/openssl.c | |
parent | e09bb63ed8e7d1a7448c42078d511f44bc4c258c (diff) |
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/openssl.c')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 28e31baea..1484b9b1c 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -3408,4 +3408,6 @@ const struct Curl_ssl Curl_ssl_openssl = { Curl_none_false_start /* false_start */ }; +const struct Curl_ssl *Curl_ssl = &Curl_ssl_openssl; + #endif /* USE_OPENSSL */ |