mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 09:45:38 +01:00
Actually apply debug_level settings in cert_app
This commit is contained in:
parent
4bdbe09f90
commit
e9bdaa251f
@ -57,6 +57,7 @@ int main( void )
|
|||||||
#include "mbedtls/net.h"
|
#include "mbedtls/net.h"
|
||||||
#include "mbedtls/ssl.h"
|
#include "mbedtls/ssl.h"
|
||||||
#include "mbedtls/x509.h"
|
#include "mbedtls/x509.h"
|
||||||
|
#include "mbedtls/debug.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -380,6 +381,10 @@ int main( int argc, char *argv[] )
|
|||||||
|
|
||||||
mbedtls_printf( " ok\n" );
|
mbedtls_printf( " ok\n" );
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DEBUG_C)
|
||||||
|
mbedtls_debug_set_threshold( opt.debug_level );
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 2. Start the connection
|
* 2. Start the connection
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user