14
0

Accepting request 491273 from home:TheBlackCat:branches:devel:languages:python

- Implement single-spec version
- Fix source URL
- Update to 17.0.0

OBS-URL: https://build.opensuse.org/request/show/491273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=38
This commit is contained in:
Todd R
2017-05-01 15:14:02 +00:00
committed by Git OBS Bridge
parent a9ca258a65
commit ab568b93fd
7 changed files with 83 additions and 45 deletions

View File

@@ -2,12 +2,12 @@ Index: OpenSSL/test/test_crypto.py
===================================================================
--- OpenSSL/tests/test_crypto.py.orig
+++ OpenSSL/tests/test_crypto.py
@@ -627,7 +627,7 @@ class PKeyTests(TestCase):
:py:meth:`PKeyType.generate_key` generates an RSA key when passed
:py:data:`TYPE_RSA` as a type and a reasonable number of bits.
@@ -627,7 +627,7 @@
`PKey.generate_key` generates an RSA key when passed `TYPE_RSA` as a
type and a reasonable number of bits.
"""
- bits = 128
+ bits = 2048
key = PKey()
key.generate_key(TYPE_RSA, bits)
self.assertEqual(key.type(), TYPE_RSA)
assert key.type() == TYPE_RSA