Actually apply debug_level settings in cert_app

This commit is contained in:
Simon Butcher 2016-09-26 22:03:55 +01:00
parent f6d2b6fb19
commit 7a9e43fd1d

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
*/