diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-22 16:45:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-08-28 14:56:56 +0200 |
commit | e09bb63ed8e7d1a7448c42078d511f44bc4c258c (patch) | |
tree | bb4318427f467ede0dfa8c237fb5a52fac8cbf6c /lib/vtls/darwinssl.h | |
parent | e7e03e47d4113bcac4340bdd83cf5af4991920ad (diff) |
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/darwinssl.h')
-rw-r--r-- | lib/vtls/darwinssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/darwinssl.h b/lib/vtls/darwinssl.h index 51931ee8f..687ecb13a 100644 --- a/lib/vtls/darwinssl.h +++ b/lib/vtls/darwinssl.h @@ -54,6 +54,8 @@ void Curl_darwinssl_sha256sum(const unsigned char *tmp, /* input */ size_t sha256len); bool Curl_darwinssl_false_start(void); +extern const struct Curl_ssl Curl_ssl_darwinssl; + /* Set the API backend definition to SecureTransport */ #define CURL_SSL_BACKEND CURLSSLBACKEND_DARWINSSL |