Hello community,

here is the log from the commit of package libtcnative-1-0 for openSUSE:Factory 
checked in at 2014-05-02 13:59:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtcnative-1-0 (Old)
 and      /work/SRC/openSUSE:Factory/.libtcnative-1-0.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtcnative-1-0"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtcnative-1-0/libtcnative-1-0.changes  
2013-09-16 10:05:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libtcnative-1-0.new/libtcnative-1-0.changes     
2014-05-02 13:59:27.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Apr 27 15:45:46 UTC 2014 - crrodrig...@opensuse.org
+
+- version 1.1.30 
+* Fixed double-free in ssl_ocsp_request. Patch provided by
+  Aristotelis.
+* Other minor bugfixes.
+- openSUSE: Fix build when openssl does not have SSLv2 support.
+  (tomcat-native-nosslv2.patch)
+
+-------------------------------------------------------------------

Old:
----
  tomcat-native-1.1.27-src.tar.gz
  tomcat-native-1.1.27-src.tar.gz.asc

New:
----
  tomcat-native-1.1.30-src.tar.gz
  tomcat-native-1.1.30-src.tar.gz.asc
  tomcat-native-nosslv2.patch

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

Other differences:
------------------
++++++ libtcnative-1-0.spec ++++++
--- /var/tmp/diff_new_pack.oZrPhp/_old  2014-05-02 13:59:28.000000000 +0200
+++ /var/tmp/diff_new_pack.oZrPhp/_new  2014-05-02 13:59:28.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libtcnative-1-0
-Version:        1.1.27
+Version:        1.1.30
 Release:        0
 Summary:        JNI wrappers for Apache Portable Runtime for Tomcat
 License:        Apache-2.0
@@ -41,6 +41,7 @@
 Provides:       tcnative = %{version}-%{release}
 #Fedora compatibility
 Provides:       tomcat-native = %{version}-%{release}
+Patch0:         tomcat-native-nosslv2.patch
 
 %description
 Tomcat can use the Apache Portable Runtime to provide superior
@@ -87,7 +88,7 @@
 %prep
 %gpg_verify %{SOURCE1}
 %setup -q -n tomcat-native-%{version}-src
-# % patch0
+%patch0 -p1
 
 %build
 cd jni/native

++++++ tomcat-native-1.1.27-src.tar.gz -> tomcat-native-1.1.30-src.tar.gz ++++++
++++ 12888 lines of diff (skipped)

++++++ tomcat-native-nosslv2.patch ++++++
--- tomcat-native-1.1.30-src.orig/jni/native/src/sslcontext.c
+++ tomcat-native-1.1.30-src/jni/native/src/sslcontext.c
@@ -73,12 +73,17 @@ TCN_IMPLEMENT_CALL(jlong, SSLContext, ma
 
     switch (protocol) {
         case SSL_PROTOCOL_SSLV2:
+#ifdef OPENSSL_NO_SSL2
+            tcn_Throw(e, "Invalid Server SSL Protocol: SSLv2 not supported");
+            goto init_failed;
+#else
             if (mode == SSL_MODE_CLIENT)
                 ctx = SSL_CTX_new(SSLv2_client_method());
             else if (mode == SSL_MODE_SERVER)
                 ctx = SSL_CTX_new(SSLv2_server_method());
             else
                 ctx = SSL_CTX_new(SSLv2_method());
+#endif
         break;
         case SSL_PROTOCOL_SSLV3:
             if (mode == SSL_MODE_CLIENT)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to