summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c5
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"
26RCSID("$OpenBSD: sshconnect2.c,v 1.61 2001/04/03 19:53:29 markus Exp $"); 26RCSID("$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);