PolarSSL++: Fixed debugging output.
This commit is contained in:
parent
505dce1fc3
commit
bae8b2e1fa
@ -7,6 +7,7 @@
|
|||||||
#include "SslContext.h"
|
#include "SslContext.h"
|
||||||
#include "EntropyContext.h"
|
#include "EntropyContext.h"
|
||||||
#include "CtrDrbgContext.h"
|
#include "CtrDrbgContext.h"
|
||||||
|
#include "polarssl/debug.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -69,6 +70,8 @@ int cSslContext::Initialize(bool a_IsClient, const SharedPtr<cCtrDrbgContext> &
|
|||||||
// These functions allow us to debug SSL and certificate problems, but produce way too much output,
|
// These functions allow us to debug SSL and certificate problems, but produce way too much output,
|
||||||
// so they're disabled until someone needs them
|
// so they're disabled until someone needs them
|
||||||
ssl_set_dbg(&m_Ssl, &SSLDebugMessage, this);
|
ssl_set_dbg(&m_Ssl, &SSLDebugMessage, this);
|
||||||
|
debug_set_threshold(4);
|
||||||
|
|
||||||
ssl_set_verify(&m_Ssl, &SSLVerifyCert, this);
|
ssl_set_verify(&m_Ssl, &SSLVerifyCert, this);
|
||||||
//*/
|
//*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user