summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
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);