summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-04 02:00:54 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-04 02:00:54 +0000
commit2d90e003098834de493a797017f8704b2f383f67 (patch)
tree9465422eab9f2925c7a9ed6cb99a923173fde9fe /sshd.c
parent9323d964791a8627c7733e64951d32e7d4b19f9c (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 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index c54675962..bdcae2cd4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.186 2001/04/03 19:53:29 markus Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.187 2001/04/03 23:32:12 markus Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -1434,6 +1434,9 @@ do_ssh2_kex(void)
1434 /* start key exchange */ 1434 /* start key exchange */
1435 dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex); 1435 dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex);
1436 1436
1437 session_id2 = kex->session_id;
1438 session_id2_len = kex->session_id_len;
1439
1437#ifdef DEBUG_KEXDH 1440#ifdef DEBUG_KEXDH
1438 /* send 1st encrypted/maced/compressed message */ 1441 /* send 1st encrypted/maced/compressed message */
1439 packet_start(SSH2_MSG_IGNORE); 1442 packet_start(SSH2_MSG_IGNORE);