Hello community,

here is the log from the commit of package tigervnc for openSUSE:Factory 
checked in at 2014-08-06 11:42:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tigervnc (Old)
 and      /work/SRC/openSUSE:Factory/.tigervnc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tigervnc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tigervnc/tigervnc.changes        2014-06-18 
10:59:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.tigervnc.new/tigervnc.changes   2014-08-06 
11:42:15.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug  4 10:37:08 UTC 2014 - m...@suse.com
+
+- U_include-vencrypt-only-if-any-subtype-present.patch
+  * Do not automatically offer VeNCrypt security if none of it's
+    subtypes is selected. (bnc#889781)
+
+-------------------------------------------------------------------

New:
----
  U_include-vencrypt-only-if-any-subtype-present.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tigervnc.spec ++++++
--- /var/tmp/diff_new_pack.xPePrB/_old  2014-08-06 11:42:16.000000000 +0200
+++ /var/tmp/diff_new_pack.xPePrB/_new  2014-08-06 11:42:16.000000000 +0200
@@ -108,6 +108,7 @@
 Patch6:         u_tigervnc-dont-send-ascii-control-characters.patch
 Patch7:         u_tigervnc-ignore-epipe-on-write.patch
 Patch8:         n_tigervnc-date-time.patch
+Patch9:         U_include-vencrypt-only-if-any-subtype-present.patch
 # Xserver patches
 Patch10:        tigervnc-1.2.80-fix-int-to-pointer.patch
 Patch11:        u_aarch64-support.patch
@@ -148,6 +149,7 @@
 %patch6 -p0
 %patch7 -p0
 %patch8 -p1
+%patch9 -p0
 pushd unix/xserver
 patch -p1 < ../xserver114.patch
 %patch10 -p1

++++++ U_include-vencrypt-only-if-any-subtype-present.patch ++++++
Index: common/rfb/Security.cxx
===================================================================
--- common/rfb/Security.cxx     (revision 5186)
+++ common/rfb/Security.cxx     (working copy)
@@ -71,10 +71,15 @@
   list<rdr::U8> result;
   list<U32>::iterator i;
 
-  result.push_back(secTypeVeNCrypt);
+  bool VeNCryptPresent = false;
   for (i = enabledSecTypes.begin(); i != enabledSecTypes.end(); i++)
-    if (*i < 0x100)
+    if (*i < 0x100) {
       result.push_back(*i);
+    } else {
+      if(!VeNCryptPresent)
+        result.push_back(secTypeVeNCrypt);
+      VeNCryptPresent = true;
+    }
 
   return result;
 }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to