Friday, September 11, 2020

UPDATE: security/qca-qt5

Simple update to the latest stable version. LibreSSL patch update from
Stefan Strogin (Gentoo). No dynamic export changes.

Feedback? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/security/qca-qt5/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile 29 Jun 2020 05:07:55 -0000 1.7
+++ Makefile 10 Sep 2020 04:59:42 -0000
@@ -2,7 +2,7 @@
# separate port for Qt5 because it's too different from Qt4 case
COMMENT = Qt Cryptographic Architecture

-V = 2.3.0
+V = 2.3.1
DISTNAME = qca-${V}
PKGNAME = qca-qt5-${V}
CATEGORIES = security
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/qca-qt5/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo 29 Jun 2020 05:07:55 -0000 1.3
+++ distinfo 10 Sep 2020 04:59:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (qca-2.3.0.tar.xz) = HWjvQaG2Hcl4a+uSOmiQKmJ2p3zO1eXqf/mF7xE5Mtc=
-SIZE (qca-2.3.0.tar.xz) = 729504
+SHA256 (qca-2.3.1.tar.xz) = wThREJq+/EYjNwmJ+uOnRb9rGss8KhOolYU5gj6XTks=
+SIZE (qca-2.3.1.tar.xz) = 725984
Index: patches/patch-plugins_qca-ossl_qca-ossl_cpp
===================================================================
RCS file: /cvs/ports/security/qca-qt5/patches/patch-plugins_qca-ossl_qca-ossl_cpp,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-plugins_qca-ossl_qca-ossl_cpp
--- patches/patch-plugins_qca-ossl_qca-ossl_cpp 29 Jun 2020 05:07:56 -0000 1.2
+++ patches/patch-plugins_qca-ossl_qca-ossl_cpp 10 Sep 2020 04:59:42 -0000
@@ -19,7 +19,7 @@ Index: plugins/qca-ossl/qca-ossl.cpp

using namespace QCA;

-@@ -1255,6 +1261,7 @@ class opensslPbkdf2Context : public KDFContext (public
+@@ -1262,6 +1268,7 @@ class opensslPbkdf2Context : public KDFContext (public
protected:
};

@@ -27,7 +27,7 @@ Index: plugins/qca-ossl/qca-ossl.cpp
class opensslHkdfContext : public HKDFContext
{
Q_OBJECT
-@@ -1284,6 +1291,7 @@ class opensslHkdfContext : public HKDFContext (public)
+@@ -1291,6 +1298,7 @@ class opensslHkdfContext : public HKDFContext (public)
return out;
}
};
@@ -35,7 +35,43 @@ Index: plugins/qca-ossl/qca-ossl.cpp

class opensslHMACContext : public MACContext
{
-@@ -7268,7 +7276,9 @@ class opensslProvider : public Provider (public)
+@@ -4990,7 +4998,11 @@ class MyTLSContext : public TLSContext (public)
+ case TLS::TLS_v1:
+ ctx = SSL_CTX_new(TLS_client_method());
+ SSL_CTX_set_min_proto_version(ctx, TLS1_VERSION);
++#ifdef TLS1_3_VERSION
+ SSL_CTX_set_max_proto_version(ctx, TLS1_3_VERSION);
++#else
++ SSL_CTX_set_max_proto_version(ctx, TLS1_2_VERSION);
++

No comments:

Post a Comment