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_group1.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_group1.py')
-rw-r--r-- | paramiko/kex_group1.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/paramiko/kex_group1.py b/paramiko/kex_group1.py index 94e6bea3..77857f8c 100644 --- a/paramiko/kex_group1.py +++ b/paramiko/kex_group1.py @@ -23,12 +23,13 @@ Standard SSH key exchange ("kex" if you wanna sound cool). Diffie-Hellman of 1024 bit key halves, using a known "p" prime and "g" generator. """ -from message import Message, inflate_long -from ssh_exception import SSHException -from transport import _MSG_NEWKEYS from Crypto.Hash import SHA from logging import DEBUG, INFO, WARNING, ERROR, CRITICAL +from common import * +from message import Message, inflate_long +from ssh_exception import SSHException + _MSG_KEXDH_INIT, _MSG_KEXDH_REPLY = range(30, 32) # draft-ietf-secsh-transport-09.txt, page 17 |