diff options
author | makc <makc@FreeBSD.org> | 2015-11-07 18:26:08 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2015-11-07 18:26:08 +0800 |
commit | 30327f518d073a36eb3e1ac6b15afc0d5d1bbfce (patch) | |
tree | d7ca6829efea1e761a69f5c694e1913c46ae6e04 | |
parent | a1017631cdfcf238c234cadcf4b8201b1424a762 (diff) | |
download | freebsd-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-libressl | 15 |
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; |