From 7a9e43fd1d1d4732397c799664761febd8212184 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Mon, 26 Sep 2016 22:03:55 +0100 Subject: [PATCH] Actually apply debug_level settings in cert_app --- programs/x509/cert_app.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/programs/x509/cert_app.c b/programs/x509/cert_app.c index 51d71aef2..3d175281a 100644 --- a/programs/x509/cert_app.c +++ b/programs/x509/cert_app.c @@ -55,6 +55,7 @@ int main( void ) #include "polarssl/net.h" #include "polarssl/ssl.h" #include "polarssl/x509.h" +#include "polarssl/debug.h" #include #include @@ -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 */