forked from pool/python-pyOpenSSL
* 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
31 lines
947 B
Diff
31 lines
947 B
Diff
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.",
|
|
)
|
|
+ @pytest.mark.network
|
|
def test_set_default_verify_paths(self):
|
|
"""
|
|
`Context.set_default_verify_paths` causes the platform-specific CA
|
|
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
|
|
testpaths = tests
|
|
+markers =
|
|
+ network: test case requires network connection
|
|
|
|
[metadata]
|
|
license_file = LICENSE
|
|
@@ -16,4 +18,3 @@ doc_files = doc/_build/html
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
-
|