forked from pool/python-pyOpenSSL
- update to 22.1.0:
* Remove support for SSLv2 and SSLv3. * The minimum ``cryptography`` version is now 37.0.2. * The ``OpenSSL.crypto.X509StoreContextError`` exception has been refactored, changing its internal attributes. * Add ``OpenSSL.SSL.Connection.set_verify`` and ``OpenSSL.SSL.Connection.get_verify_mode`` to override the context object's verification flags. * Add ``OpenSSL.SSL.Connection.use_certificate`` and ``OpenSSL.SSL.Connection.use_privatekey`` to set a certificate per connection (and not just per context) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=95
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
--- a/tests/test_ssl.py
|
||||
+++ b/tests/test_ssl.py
|
||||
@@ -1240,6 +1240,7 @@ class TestContext(object):
|
||||
Index: pyOpenSSL-22.1.0/tests/test_ssl.py
|
||||
===================================================================
|
||||
--- pyOpenSSL-22.1.0.orig/tests/test_ssl.py
|
||||
+++ pyOpenSSL-22.1.0/tests/test_ssl.py
|
||||
@@ -1244,6 +1244,7 @@ class TestContext:
|
||||
reason="set_default_verify_paths appears not to work on Windows. "
|
||||
"See LP#404343 and LP#404344.",
|
||||
)
|
||||
@@ -8,8 +10,10 @@
|
||||
def test_set_default_verify_paths(self):
|
||||
"""
|
||||
`Context.set_default_verify_paths` causes the platform-specific CA
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
Index: pyOpenSSL-22.1.0/setup.cfg
|
||||
===================================================================
|
||||
--- pyOpenSSL-22.1.0.orig/setup.cfg
|
||||
+++ pyOpenSSL-22.1.0/setup.cfg
|
||||
@@ -2,6 +2,8 @@
|
||||
minversion = 3.0.1
|
||||
strict = true
|
||||
@@ -17,9 +21,9 @@
|
||||
+markers =
|
||||
+ network: test case requires network connection
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
@@ -19,4 +21,3 @@ doc-files = doc/_build/html
|
||||
[metadata]
|
||||
license_file = LICENSE
|
||||
@@ -16,4 +18,3 @@ doc_files = doc/_build/html
|
||||
[egg_info]
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
|
Reference in New Issue
Block a user