cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] mbedtls: Rename mbedtls_debug info mbed_debug to match debug function name

From: Thomas Glanzmann <thomas_at_glanzmann.de>
Date: Mon, 1 Aug 2016 16:38:54 +0200

This patch is necessary so that curl compiles if MBEDTLS_DEBUG is
defined.

---
 lib/vtls/mbedtls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c
index f30f2ce..18c2d4f 100644
--- a/lib/vtls/mbedtls.c
+++ b/lib/vtls/mbedtls.c
@@ -420,7 +420,7 @@ mbed_connect_step1(struct connectdata *conn,
 #endif
 
 #ifdef MBEDTLS_DEBUG
-  mbedtls_ssl_conf_dbg(&connssl->config, mbedtls_debug, data);
+  mbedtls_ssl_conf_dbg(&connssl->config, mbed_debug, data);
 #endif
 
   connssl->connecting_state = ssl_connect_2;
-- 
2.1.4
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-01