From 758c18a28b1ff5df1a920d02ef1e9df52853a677 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sun, 28 Oct 2007 20:05:20 -0700 Subject: [project @ robey@lag.net-20071029030520-ozmne7y4l6037m8h] bug discovered while porting to jaramiko: old-style gex wasn't creating the proper hash. fixed. --- tests/test_kex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_kex.py b/tests/test_kex.py index 1989117f..f3042753 100644 --- a/tests/test_kex.py +++ b/tests/test_kex.py @@ -179,7 +179,7 @@ class KexTest (unittest.TestCase): msg.add_string('fake-sig') msg.rewind() kex.parse_next(paramiko.kex_gex._MSG_KEXDH_GEX_REPLY, msg) - H = 'A265563F2FA87F1A89BF007EE90D58BE2E4A4BD0' + H = '807F87B269EF7AC5EC7E75676808776A27D5864C' self.assertEquals(self.K, transport._K) self.assertEquals(H, hexlify(transport._H).upper()) self.assertEquals(('fake-host-key', 'fake-sig'), transport._verify) -- cgit v1.2.3