Actually apply debug_level settings in cert_app

This commit is contained in:
Paul Bakker 2016-08-11 10:45:14 +01:00 committed by Simon Butcher
parent 541a960bee
commit 11a7d7cf68

View File

@ -54,6 +54,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>
@ -377,6 +378,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
*/