diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 02:00:54 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 02:00:54 +0000 |
commit | 2d90e003098834de493a797017f8704b2f383f67 (patch) | |
tree | 9465422eab9f2925c7a9ed6cb99a923173fde9fe /sshconnect2.c | |
parent | 9323d964791a8627c7733e64951d32e7d4b19f9c (diff) |
- markus@cvs.openbsd.org 2001/04/03 23:32:12
[kex.c kex.h packet.c sshconnect2.c sshd.c]
undo parts of recent my changes: main part of keyexchange does not
need dispatch-callbacks, since application data is delayed until
the keyexchange completes (if i understand the drafts correctly).
add some infrastructure for re-keying.
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 4ed39a23e..dd3f36b57 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.61 2001/04/03 19:53:29 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.62 2001/04/03 23:32:12 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -117,6 +117,9 @@ ssh_kex2(char *host, struct sockaddr *hostaddr) | |||
117 | /* start key exchange */ | 117 | /* start key exchange */ |
118 | dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex); | 118 | dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex); |
119 | 119 | ||
120 | session_id2 = kex->session_id; | ||
121 | session_id2_len = kex->session_id_len; | ||
122 | |||
120 | #ifdef DEBUG_KEXDH | 123 | #ifdef DEBUG_KEXDH |
121 | /* send 1st encrypted/maced/compressed message */ | 124 | /* send 1st encrypted/maced/compressed message */ |
122 | packet_start(SSH2_MSG_IGNORE); | 125 | packet_start(SSH2_MSG_IGNORE); |