curl-library
Re: MBEDTLS debugging in libcurl [WAS: [PATCH] mbedtls: Rename mbedtls_debug info mbed_debug to match] debug function name
Date: Wed, 3 Aug 2016 02:02:08 -0400
On 8/1/2016 2:37 PM, Thomas Glanzmann wrote:
>> >Regarding your other e-mail about why you aren't receiving debugging
>> >info even with the fix maybe you built mbedTLS without
>> >MBEDTLS_DEBUG_C?
> I had that_not_ enabled. Now that I have, I have still no additional
> debugging output:
>
> $ grep '^#define.*_DEBUG' mbedtls/include/mbedtls/config.h curl/lib/vtls/mbedtls.c
> mbedtls/include/mbedtls/config.h:#define MBEDTLS_SSL_DEBUG_ALL
> mbedtls/include/mbedtls/config.h:#define MBEDTLS_DEBUG_C
> curl/lib/vtls/mbedtls.c:#define MBEDTLS_DEBUG
>
> Any other ideas what I could have missed?
Try putting a breakpoint on the function to see if it's called without
the right context? That's the only thing I can think of.
mbedtls_ssl_conf_dbg doesn't have a return code so we have to assume
it's always successful. Also you could ask in an mbedtls forum, maybe
they know.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-03