Commit f2b92bb2 authored by Paul Bakker's avatar Paul Bakker Committed by Simon Butcher

Actually apply debug_level settings in cert_app

parent c49b808a
......@@ -57,6 +57,7 @@ int main( void )
#include "mbedtls/net.h"
#include "mbedtls/ssl.h"
#include "mbedtls/x509.h"
#include "mbedtls/debug.h"
#include <stdio.h>
#include <stdlib.h>
......@@ -380,6 +381,10 @@ int main( int argc, char *argv[] )
mbedtls_printf( " ok\n" );
#if defined(MBEDTLS_DEBUG_C)
mbedtls_debug_set_threshold( opt.debug_level );
#endif
/*
* 2. Start the connection
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment