summaryrefslogtreecommitdiffhomepage
path: root/tests/test_transport.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-06-09 12:28:11 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-06-09 12:28:11 -0700
commit24e1bb1252578891e8527a52285f48bcaaf6605d (patch)
tree13029235ecc7cae7f14d40080bc12d3e26754c48 /tests/test_transport.py
parent978b652cc4385f7706c49f3391bf2d91e93d4b18 (diff)
parent86688c1b9d37dd75f99b6eefb00200a1abb4cf51 (diff)
Merge branch '2.0' into 952-int
Diffstat (limited to 'tests/test_transport.py')
-rw-r--r--tests/test_transport.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_transport.py b/tests/test_transport.py
index 2ebdf854..c426cef1 100644
--- a/tests/test_transport.py
+++ b/tests/test_transport.py
@@ -165,6 +165,15 @@ class TransportTest(unittest.TestCase):
except TypeError:
pass
+ def test_1b_security_options_reset(self):
+ o = self.tc.get_security_options()
+ # should not throw any exceptions
+ o.ciphers = o.ciphers
+ o.digests = o.digests
+ o.key_types = o.key_types
+ o.kex = o.kex
+ o.compression = o.compression
+
def test_2_compute_key(self):
self.tc.K = 123281095979686581523377256114209720774539068973101330872763622971399429481072519713536292772709507296759612401802191955568143056534122385270077606457721553469730659233569339356140085284052436697480759510519672848743794433460113118986816826624865291116513647975790797391795651716378444844877749505443714557929
self.tc.H = b'\x0C\x83\x07\xCD\xE6\x85\x6F\xF3\x0B\xA9\x36\x84\xEB\x0F\x04\xC2\x52\x0E\x9E\xD3'