summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index b19864007..7ffbda421 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -358,7 +358,7 @@ keygrab_ssh2(con *c)
358{ 358{
359 int j; 359 int j;
360 360
361 packet_set_connection(c->c_fd, c->c_fd); 361 packet_set_connection(c->c_fd, c->c_fd, timeout);
362 enable_compat20(); 362 enable_compat20();
363 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? 363 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA?
364 "ssh-dss": "ssh-rsa"; 364 "ssh-dss": "ssh-rsa";