summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-19 17:17:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-19 17:17:51 (GMT)
commit775515df35bad313745efc26493399b63f43728c (patch)
treeda818fa3f8ba5b21dbde81fd2d26d4b501475503 /Swiften/TLS
parentd67ecb18c1178ecf69e6cb5e8c8ee1fecee35e4c (diff)
downloadswift-contrib-775515df35bad313745efc26493399b63f43728c.zip
swift-contrib-775515df35bad313745efc26493399b63f43728c.tar.bz2
Disabling timer in BenchTool.
Diffstat (limited to 'Swiften/TLS')
-rw-r--r--Swiften/TLS/OpenSSL/OpenSSLContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/TLS/OpenSSL/OpenSSLContext.cpp b/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
index 30a2b11..e922f2d 100644
--- a/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
+++ b/Swiften/TLS/OpenSSL/OpenSSLContext.cpp
@@ -68,6 +68,11 @@ void OpenSSLContext::ensureLibraryInitialized() {
SSL_load_error_strings();
SSL_library_init();
OpenSSL_add_all_algorithms();
+
+ // Disable compression
+ /*STACK_OF(SSL_COMP)* compressionMethods = SSL_COMP_get_compression_methods();
+ sk_SSL_COMP_zero(compressionMethods);*/
+
isLibraryInitialized = true;
}
}