summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++/SslContext.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-28 21:16:32 +0200
committermadmaxoft <github@xoft.cz>2014-04-28 21:16:32 +0200
commit16b3eae8623916fa7bc2cd9cad292bbad8d6a116 (patch)
tree85c81bb6f48178740098ddf008f5c1fe6d7dc1e5 /src/PolarSSL++/SslContext.h
parentReordered constructors. (diff)
downloadcuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar.gz
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar.bz2
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar.lz
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar.xz
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.tar.zst
cuberite-16b3eae8623916fa7bc2cd9cad292bbad8d6a116.zip
Diffstat (limited to 'src/PolarSSL++/SslContext.h')
-rw-r--r--src/PolarSSL++/SslContext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/PolarSSL++/SslContext.h b/src/PolarSSL++/SslContext.h
index 6effdcaea..85add5f8b 100644
--- a/src/PolarSSL++/SslContext.h
+++ b/src/PolarSSL++/SslContext.h
@@ -120,6 +120,9 @@ protected:
#ifdef _DEBUG
/** The callback used by PolarSSL to output debug messages */
static void SSLDebugMessage(void * a_UserParam, int a_Level, const char * a_Text);
+
+ /** The callback used by PolarSSL to log information on the cert chain */
+ static int SSLVerifyCert(void * a_This, x509_crt * a_Crt, int a_Depth, int * a_Flags);
#endif // _DEBUG
/** Called when PolarSSL wants to read encrypted data. */