diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch')
-rw-r--r-- | dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch b/dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch new file mode 100644 index 000000000000..3e2c06c1abd1 --- /dev/null +++ b/dev-python/pyopenssl/files/pyopenssl-0.15.1-openssl-1.0.2-backport-1.patch @@ -0,0 +1,19 @@ + OpenSSL/test/test_ssl.py | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py +index bb1c9ae..d3bffe7 100644 +--- a/OpenSSL/test/test_ssl.py ++++ b/OpenSSL/test/test_ssl.py +@@ -1416,6 +1416,11 @@ class ContextTests(TestCase, _LoopbackMixin): + """ + context = Context(TLSv1_METHOD) + for curve in get_elliptic_curves(): ++ if curve.name.startswith(u"Oakley-"): ++ # Setting Oakley-EC2N-4 and Oakley-EC2N-3 adds ++ # ('bignum routines', 'BN_mod_inverse', 'no inverse') to the ++ # error queue on OpenSSL 1.0.2. ++ continue + # The only easily "assertable" thing is that it does not raise an + # exception. + context.set_tmp_ecdh(curve) |