diff options
author | Robey Pointer <robey@lag.net> | 2005-08-03 06:57:51 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2005-08-03 06:57:51 +0000 |
commit | 7b4cd51b7693f401e926b5e25dcfd1b014e9815f (patch) | |
tree | 48f374f403fdb40435fbf10e507de82f97ce3957 /paramiko/kex_gex.py | |
parent | eb60811594711e8aed9b8cabeb2949ad74c82843 (diff) | |
download | paramiko-7b4cd51b7693f401e926b5e25dcfd1b014e9815f.tar.gz |
[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-49]
dumb tiny tweaks
Diffstat (limited to 'paramiko/kex_gex.py')
-rw-r--r-- | paramiko/kex_gex.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/kex_gex.py b/paramiko/kex_gex.py index 902677d9..e0974c1f 100644 --- a/paramiko/kex_gex.py +++ b/paramiko/kex_gex.py @@ -119,6 +119,7 @@ class KexGex (object): pack = self.transport._get_modulus_pack() if pack is None: raise SSHException('Can\'t do server-side gex with no modulus pack') + self.transport._log(DEBUG, 'Picking p (%d <= %d <= %d bits)' % (minbits, preferredbits, maxbits)) self.g, self.p = pack.get_modulus(minbits, preferredbits, maxbits) m = Message() m.add_byte(chr(_MSG_KEXDH_GEX_GROUP)) @@ -201,6 +202,3 @@ class KexGex (object): self.transport._set_K_H(K, SHA.new(str(hm)).digest()) self.transport._verify_key(host_key, sig) self.transport._activate_outbound() - - - |