forked from pool/python-cryptography
Accepting request 331785 from Cloud:OpenStack:Master
- Add disable-uneven-sizes-tests.patch (bnc#944204) openssl in SLE12SP1 doesn't allow uneven bit sizes for rsa keys OBS-URL: https://build.opensuse.org/request/show/331785 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
9edc770d71
commit
c6e8ed4e4a
14
disable-uneven-sizes-tests.patch
Normal file
14
disable-uneven-sizes-tests.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: cryptography-1.0/tests/hazmat/primitives/test_rsa.py
|
||||
===================================================================
|
||||
--- cryptography-1.0.orig/tests/hazmat/primitives/test_rsa.py
|
||||
+++ cryptography-1.0/tests/hazmat/primitives/test_rsa.py
|
||||
@@ -91,7 +91,8 @@ class TestRSA(object):
|
||||
("public_exponent", "key_size"),
|
||||
itertools.product(
|
||||
(3, 5, 65537),
|
||||
- (1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1536, 2048)
|
||||
+ #(1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1536, 2048)
|
||||
+ (1024, 1026, 1028, 1030, 1536, 2048)
|
||||
)
|
||||
)
|
||||
def test_generate_rsa_keys(self, backend, public_exponent, key_size):
|
Reference in New Issue
Block a user