Hello community,

here is the log from the commit of package python-cryptography for 
openSUSE:Factory checked in at 2017-09-09 20:24:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old)
 and      /work/SRC/openSUSE:Factory/.python-cryptography.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cryptography"

Sat Sep  9 20:24:11 2017 rev:29 rq:522024 version:2.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes  
2017-08-10 13:45:22.246262054 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cryptography.new/python-cryptography.changes 
    2017-09-09 20:24:14.309510203 +0200
@@ -1,0 +2,6 @@
+Thu Sep  7 11:18:35 UTC 2017 - [email protected]
+
+- Disable memleak tests to fix build with OpenSSL 1.1 (bsc#1055478)
+  * add skip_openssl_memleak_test.patch
+
+-------------------------------------------------------------------

New:
----
  skip_openssl_memleak_test.patch

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

Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.1rv8JV/_old  2017-09-09 20:24:15.469346720 +0200
+++ /var/tmp/diff_new_pack.1rv8JV/_new  2017-09-09 20:24:15.469346720 +0200
@@ -31,6 +31,7 @@
 Source4:        
https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz.asc
 # PATCH-FIX-SLE disable-uneven-sizes-tests.patch bnc#944204
 Patch1:         disable-uneven-sizes-tests.patch
+Patch2:         skip_openssl_memleak_test.patch
 BuildRequires:  %{python_module asn1crypto >= 0.21.0}
 BuildRequires:  %{python_module cffi >= 1.4.1}
 BuildRequires:  %{python_module devel}
@@ -87,6 +88,7 @@
 tar xvzf %{SOURCE3}
 
 %patch1 -p1
+%patch2 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"



++++++ skip_openssl_memleak_test.patch ++++++
diff --git a/tests/hazmat/backends/test_openssl_memleak.py 
b/tests/hazmat/backends/test_openssl_memleak.py
index 6e92e34..3280c47 100644
--- a/tests/hazmat/backends/test_openssl_memleak.py
+++ b/tests/hazmat/backends/test_openssl_memleak.py
@@ -118,9 +118,8 @@ def assert_no_memory_leaks(s, argv=[]):
 
 
 def skip_if_memtesting_not_supported():
-    return pytest.mark.skipif(
-        not Binding().lib.Cryptography_HAS_MEM_FUNCTIONS,
-        reason="Requires OpenSSL memory functions (>=1.1.0)"
+    return pytest.mark.skip(
+        reason="Our FIPS openssl startup code invokes CRYPTO_malloc() which 
prevents later debugging via CRYPTO_set_mem_functions()"
     )
 
 

Reply via email to