summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-01 11:33:29 +0200
committermadmaxoft <github@xoft.cz>2014-05-01 11:33:29 +0200
commite1b6a169457b267c3e11bbdb9e58e9ab7b3f0136 (patch)
treea9e6ca3d1e7e5c474521b84969d128deefd7b427 /src
parentFixed BufferedSslContext's buffer reading and writing. (diff)
downloadcuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar.gz
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar.bz2
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar.lz
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar.xz
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.tar.zst
cuberite-e1b6a169457b267c3e11bbdb9e58e9ab7b3f0136.zip
Diffstat (limited to '')
-rw-r--r--src/PolarSSL++/SslContext.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/PolarSSL++/SslContext.cpp b/src/PolarSSL++/SslContext.cpp
index 3d2b8cef7..df0219610 100644
--- a/src/PolarSSL++/SslContext.cpp
+++ b/src/PolarSSL++/SslContext.cpp
@@ -70,6 +70,18 @@ int cSslContext::Initialize(bool a_IsClient, const SharedPtr<cCtrDrbgContext> &
ssl_set_dbg(&m_Ssl, &SSLDebugMessage, this);
ssl_set_verify(&m_Ssl, &SSLVerifyCert, this);
*/
+
+ /*
+ // Set ciphersuite to the easiest one to decode, so that the connection can be wireshark-decoded:
+ static const int CipherSuites[] =
+ {
+ TLS_RSA_WITH_RC4_128_MD5,
+ TLS_RSA_WITH_RC4_128_SHA,
+ TLS_RSA_WITH_AES_128_CBC_SHA,
+ 0, // Must be 0-terminated!
+ };
+ ssl_set_ciphersuites(&m_Ssl, CipherSuites);
+ */
#endif
m_IsValid = true;