diff options
author | Robey Pointer <robey@lag.net> | 2004-04-05 10:12:59 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-04-05 10:12:59 +0000 |
commit | 8fafd1aa1716bdf50575c4c3f98e46a2c7e73f8c (patch) | |
tree | dc9ee4413d5d1038978613e1ec08d97f8e425d14 /paramiko/kex_gex.py | |
parent | d757f90ac52d5a98b8b7db98297a50f6e53a81d0 (diff) | |
download | paramiko-8fafd1aa1716bdf50575c4c3f98e46a2c7e73f8c.tar.gz |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-36]
add common.py for commonly used constants and globals
common.py now stores the constants and globals.
lots of renaming because of this.
Diffstat (limited to 'paramiko/kex_gex.py')
-rw-r--r-- | paramiko/kex_gex.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/paramiko/kex_gex.py b/paramiko/kex_gex.py index a83c84b7..c7b07a3e 100644 --- a/paramiko/kex_gex.py +++ b/paramiko/kex_gex.py @@ -24,14 +24,16 @@ generator "g" are provided by the server. A bit more work is required on the client side, and a B{lot} more on the server side. """ -from message import Message -from util import inflate_long, deflate_long, bit_length -from ssh_exception import SSHException -from transport import _MSG_NEWKEYS from Crypto.Hash import SHA from Crypto.Util import number from logging import DEBUG +from common import * +from message import Message +from util import inflate_long, deflate_long, bit_length +from ssh_exception import SSHException + + _MSG_KEXDH_GEX_GROUP, _MSG_KEXDH_GEX_INIT, _MSG_KEXDH_GEX_REPLY, _MSG_KEXDH_GEX_REQUEST = range(31, 35) |