svn commit: r392050 - in head/devel/qca: . files

Alonso Schaich alonso at FreeBSD.org
Tue Jul 14 19:17:40 UTC 2015


Author: alonso
Date: Tue Jul 14 19:17:38 2015
New Revision: 392050
URL: https://svnweb.freebsd.org/changeset/ports/392050

Log:
  Fix build with libressl
  
  Add an upstream patch to address OpenSSL compression handling.
  
  PR:		199134
  Approved by:	rakuco (mentor)
  Obtained from:	qca upstream

Added:
  head/devel/qca/files/patch-git_593de685   (contents, props changed)
Modified:
  head/devel/qca/Makefile

Modified: head/devel/qca/Makefile
==============================================================================
--- head/devel/qca/Makefile	Tue Jul 14 18:55:14 2015	(r392049)
+++ head/devel/qca/Makefile	Tue Jul 14 19:17:38 2015	(r392050)
@@ -3,7 +3,7 @@
 
 PORTNAME=	qca
 PORTVERSION=	2.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://delta.affinix.com/download/qca/2.0/
 

Added: head/devel/qca/files/patch-git_593de685
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/qca/files/patch-git_593de685	Tue Jul 14 19:17:38 2015	(r392050)
@@ -0,0 +1,25 @@
+commit 	593de6855a4f4dc26cface3e96de8889f90cb4bb
+Author: Heiko Becker
+Date:	Mon Oct 20 12:46:34 2014 +0000
+
+    Fix build with libressl
+
+    libressl removed the SSL Compression functionality (which might
+    be considered insecure) and thus also compress_meth.
+    SSL_SESSION_get_compress_id is just a stub in libressl which always
+    returns 0 and in openssl it returns compress_meth.
+
+    REVIEW: 121107
+
+--- plugins/qca-ossl/qca-ossl.cpp
++++ plugins/qca-ossl/qca-ossl.cpp
+@@ -5805,7 +5805,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;
+


More information about the svn-ports-all mailing list