forked from pool/python-pyOpenSSL
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user