From 52e8237bfc66a2a8324dbb558c1f0704aa0f8c0e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 23 Jun 2017 00:22:47 +0200 Subject: 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 --- lib/vtls/mbedtls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/vtls/mbedtls.c') diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index 2d5e87d08..907077a6c 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -1029,4 +1029,6 @@ const struct Curl_ssl Curl_ssl_mbedtls = { Curl_none_false_start /* false_start */ }; +const struct Curl_ssl *Curl_ssl = &Curl_ssl_mbedtls; + #endif /* USE_MBEDTLS */ -- cgit v1.2.3