ab568b93fd
- 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
14 lines
476 B
Diff
14 lines
476 B
Diff
Index: OpenSSL/test/test_crypto.py
|
|
===================================================================
|
|
--- OpenSSL/tests/test_crypto.py.orig
|
|
+++ OpenSSL/tests/test_crypto.py
|
|
@@ -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)
|
|
assert key.type() == TYPE_RSA
|