summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 1e0e9d5e1..937bb773d 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.172 2009/10/23 01:57:11 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.173 2009/10/24 11:13:54 andreas Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -152,6 +152,11 @@ ssh_kex2(char *host, struct sockaddr *hostaddr)
152 152
153 dispatch_run(DISPATCH_BLOCK, &kex->done, kex); 153 dispatch_run(DISPATCH_BLOCK, &kex->done, kex);
154 154
155 if (options.use_roaming && !kex->roaming) {
156 debug("Roaming not allowed by server");
157 options.use_roaming = 0;
158 }
159
155 session_id2 = kex->session_id; 160 session_id2 = kex->session_id;
156 session_id2_len = kex->session_id_len; 161 session_id2_len = kex->session_id_len;
157 162