859b1d46e6
OBS-URL: https://build.opensuse.org/request/show/227513 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=28
14 lines
532 B
Diff
14 lines
532 B
Diff
Index: OpenSSL/test/test_crypto.py
|
|
===================================================================
|
|
--- OpenSSL/test/test_crypto.py.orig
|
|
+++ OpenSSL/test/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.
|
|
"""
|
|
- bits = 128
|
|
+ bits = 2048
|
|
key = PKey()
|
|
key.generate_key(TYPE_RSA, bits)
|
|
self.assertEqual(key.type(), TYPE_RSA)
|