summaryrefslogtreecommitdiffhomepage
path: root/kex_group1.py
diff options
context:
space:
mode:
Diffstat (limited to 'kex_group1.py')
-rw-r--r--kex_group1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kex_group1.py b/kex_group1.py
index b507d88f..00988b2a 100644
--- a/kex_group1.py
+++ b/kex_group1.py
@@ -92,7 +92,7 @@ class KexGroup1(object):
H = SHA.new(str(hm)).digest()
self.transport.set_K_H(K, H)
# sign it
- sig = self.transport.get_server_key().sign_ssh_data(H)
+ sig = self.transport.get_server_key().sign_ssh_data(self.transport.randpool, H)
# send reply
m = Message()
m.add_byte(chr(MSG_KEXDH_REPLY))