Actually apply debug_level settings in cert_app

This commit is contained in:
Simon Butcher
2016-10-13 12:44:20 +01:00
parent 2491fa2f2e
commit 23abd160cc
+5
View File
@@ -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
*/