aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-07 15:32:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-07 15:32:18 +0200
commitef802c9b853f3556165d4323877890c5f1cf9d38 (patch)
treee7f007961562e6d2fe910520cab8a51fea9d7d8d /lib/vtls
parent464bbfd6f53cfecdb4e7b891a2f10df6462a92bd (diff)
mbedtls: follow-up for the previous commit
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/mbedtls.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/vtls/mbedtls.h b/lib/vtls/mbedtls.h
index 39ecf0aea..eb6192eea 100644
--- a/lib/vtls/mbedtls.h
+++ b/lib/vtls/mbedtls.h
@@ -29,9 +29,8 @@
#include <mbedtls/sha256.h>
/* Called on first use mbedTLS, setup threading if supported */
-int mbedtls_init(void);
-void mbedtls_cleanup(void);
-
+int Curl_mbedtls_init(void);
+void Curl_mbedtls_cleanup(void);
CURLcode Curl_mbedtls_connect(struct connectdata *conn, int sockindex);
@@ -51,8 +50,8 @@ size_t Curl_mbedtls_version(char *buffer, size_t size);
int Curl_mbedtls_shutdown(struct connectdata *conn, int sockindex);
/* API setup for mbedTLS */
-#define curlssl_init() mbedtls_init()
-#define curlssl_cleanup() mbedtls_cleanup()
+#define curlssl_init() Curl_mbedtls_init()
+#define curlssl_cleanup() Curl_mbedtls_cleanup()
#define curlssl_connect Curl_mbedtls_connect
#define curlssl_connect_nonblocking Curl_mbedtls_connect_nonblocking
#define curlssl_session_free(x) Curl_mbedtls_session_free(x)