aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2015-11-07 18:26:08 +0800
committermakc <makc@FreeBSD.org>2015-11-07 18:26:08 +0800
commit30327f518d073a36eb3e1ac6b15afc0d5d1bbfce (patch)
treed7ca6829efea1e761a69f5c694e1913c46ae6e04
parenta1017631cdfcf238c234cadcf4b8201b1424a762 (diff)
downloadfreebsd-ports-gnome-30327f518d073a36eb3e1ac6b15afc0d5d1bbfce.tar.gz
freebsd-ports-gnome-30327f518d073a36eb3e1ac6b15afc0d5d1bbfce.tar.zst
freebsd-ports-gnome-30327f518d073a36eb3e1ac6b15afc0d5d1bbfce.zip
devel/qca:
- Fix build with LibreSSL and with old OpenSSL (FreeBSD 9.x) PR: 199134 PR: 204305
-rw-r--r--devel/qca/files/patch-libressl15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/qca/files/patch-libressl b/devel/qca/files/patch-libressl
new file mode 100644
index 000000000000..2edf422f1d72
--- /dev/null
+++ b/devel/qca/files/patch-libressl
@@ -0,0 +1,15 @@
+--- 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;