# upstream
# http://quickgit.kde.org/?p=qca.git&a=commit&h=593de6855a4f4dc26cface3e96de8889f90cb4bb

--- plugins/qca-ossl/qca-ossl.cpp	2015-01-24 00:38:42.000000000 +0100
+++ plugins/qca-ossl/qca-ossl.cpp	2015-01-24 00:38:27.000000000 +0100
@@ -5801,7 +5801,7 @@
 	{
 		SessionInfo sessInfo;
 
-		sessInfo.isCompressed = (0 != ssl->session->compress_meth);
+		sessInfo.isCompressed = (0 != SSL_SESSION_get_compress_id(ssl->session));
 
 		if (ssl->version == TLS1_VERSION)
 			sessInfo.version = TLS::TLS_v1;
