Skip to content
Snippets Groups Projects
Commit 83b39a4f authored by Damien Vielpeau's avatar Damien Vielpeau Committed by Daniel Stenberg
Browse files

mbedtls: fix MBEDTLS_DEBUG builds

parent c111178b
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,8 @@ static int entropy_func_mutex(void *data, unsigned char *output, size_t len)
#undef MBEDTLS_DEBUG
#ifdef MBEDTLS_DEBUG
static void mbed_debug(void *context, int level, const char *line)
static void mbed_debug(void *context, int level, const char *f_name,
int line_nb, const char *line)
{
struct SessionHandle *data = NULL;
......@@ -423,7 +424,7 @@ mbed_connect_step1(struct connectdata *conn,
#endif
#ifdef MBEDTLS_DEBUG
mbedtls_ssl_conf_dbg(&connssl->ssl, mbedtls_debug, data);
mbedtls_ssl_conf_dbg(&connssl->config, mbedtls_debug, data);
#endif
connssl->connecting_state = ssl_connect_2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment