Line 0
Link Here
|
|
|
1 |
diff -urN qca-2.1.0.orig/plugins/qca-ossl/qca-ossl.cpp qca-2.1.0/plugins/qca-ossl/qca-ossl.cpp |
2 |
--- plugins/qca-ossl/qca-ossl.cpp 2014-11-06 03:15:45.000000000 -0500 |
3 |
+++ plugins/qca-ossl/qca-ossl.cpp 2015-04-03 12:59:49.271507403 -0400 |
4 |
@@ -5801,7 +5801,11 @@ |
5 |
{ |
6 |
SessionInfo sessInfo; |
7 |
|
8 |
- sessInfo.isCompressed = (0 != ssl->session->compress_meth); |
9 |
+ #ifndef OPENSSL_NO_COMP |
10 |
+ sessInfo.isCompressed = (0 != ssl->session->compress_meth); |
11 |
+ #else |
12 |
+ sessInfo.isCompressed = 0; |
13 |
+ #endif |
14 |
|
15 |
if (ssl->version == TLS1_VERSION) |
16 |
sessInfo.version = TLS::TLS_v1; |