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 68b6a0ad1..6fc624c63 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -343,7 +343,7 @@ keygrab_ssh2(con *c)
343{ 343{
344 int j; 344 int j;
345 345
346 packet_set_connection(c->c_fd, c->c_fd); 346 packet_set_connection(c->c_fd, c->c_fd, timeout);
347 enable_compat20(); 347 enable_compat20();
348 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? 348 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA?
349 "ssh-dss": "ssh-rsa"; 349 "ssh-dss": "ssh-rsa";