summaryrefslogtreecommitdiffhomepage
path: root/kex_gex.py
diff options
context:
space:
mode:
Diffstat (limited to 'kex_gex.py')
-rw-r--r--kex_gex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kex_gex.py b/kex_gex.py
index 5fd67968..19bc699a 100644
--- a/kex_gex.py
+++ b/kex_gex.py
@@ -138,7 +138,7 @@ class KexGex(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_GEX_REPLY))