mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 20:25:36 +00:00
Actually apply debug_level settings in cert_app
This commit is contained in:
parent
f6d2b6fb19
commit
7a9e43fd1d
|
@ -55,6 +55,7 @@ int main( void )
|
|||
#include "polarssl/net.h"
|
||||
#include "polarssl/ssl.h"
|
||||
#include "polarssl/x509.h"
|
||||
#include "polarssl/debug.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -375,6 +376,10 @@ int main( int argc, char *argv[] )
|
|||
|
||||
polarssl_printf( " ok\n" );
|
||||
|
||||
#if defined(POLARSSL_DEBUG_C)
|
||||
debug_set_threshold( opt.debug_level );
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 2. Start the connection
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue