aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Glanzmann <thomas@glanzmann.de>2016-08-01 13:16:42 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-08-01 13:16:42 -0400
commitaa9f536a18b4c222961fbacd9347d06928eec458 (patch)
treec7ecdfed461b761866af207879b1511abc16814f
parent120fe1a22deecde49b9c46b125285d0cf846b159 (diff)
mbedtls: Fix debug function name
This patch is necessary so that curl compiles if MBEDTLS_DEBUG is defined. Bug: https://curl.haxx.se/mail/lib-2016-08/0001.html
-rw-r--r--lib/vtls/mbedtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c
index 91425257a..a1e7d2363 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;