]> granicus.if.org Git - curl/commitdiff
mbedtls: follow-up for the previous commit
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Apr 2016 13:32:18 +0000 (15:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Apr 2016 13:32:18 +0000 (15:32 +0200)
lib/vtls/mbedtls.h

index 39ecf0aeaacbe0a3134b11b7beb6bd8fc1c7e1a7..eb6192eea03e75ea3ca0f1d9a96890cfe81afd80 100644 (file)
@@ -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)