diff options
author | Mattes D <github@xoft.cz> | 2015-02-12 20:23:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-02-12 20:23:04 +0100 |
commit | bae8b2e1faa918ad483f9f2c88621e7b7498ca3a (patch) | |
tree | 33eba0c616c4fa7be266f521ac4d9b17602480e6 | |
parent | Fixed Linux compilation. (diff) | |
download | cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar.gz cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar.bz2 cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar.lz cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar.xz cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.tar.zst cuberite-bae8b2e1faa918ad483f9f2c88621e7b7498ca3a.zip |
-rw-r--r-- | src/PolarSSL++/SslContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PolarSSL++/SslContext.cpp b/src/PolarSSL++/SslContext.cpp index 66dfefc65..8ab207df6 100644 --- a/src/PolarSSL++/SslContext.cpp +++ b/src/PolarSSL++/SslContext.cpp @@ -7,6 +7,7 @@ #include "SslContext.h" #include "EntropyContext.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, // so they're disabled until someone needs them ssl_set_dbg(&m_Ssl, &SSLDebugMessage, this); + debug_set_threshold(4); + ssl_set_verify(&m_Ssl, &SSLVerifyCert, this); //*/ |