--- plugins/qca-ossl/qca-ossl.cpp.orig 2015-10-02 09:39:21 UTC +++ plugins/qca-ossl/qca-ossl.cpp @@ -5805,7 +5805,11 @@ public: { SessionInfo sessInfo; - sessInfo.isCompressed = (0 != SSL_SESSION_get_compress_id(ssl->session)); +#ifndef OPENSSL_NO_COMP + sessInfo.isCompressed = (0 != ssl->session->compress_meth); +#else + sessInfo.isCompressed = 0; +#endif if (ssl->version == TLS1_VERSION) sessInfo.version = TLS::TLS_v1;