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 3cb52ac2e..2f9221605 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -339,7 +339,7 @@ keygrab_ssh2(con *c)
339{ 339{
340 int j; 340 int j;
341 341
342 packet_set_connection(c->c_fd, c->c_fd); 342 packet_set_connection(c->c_fd, c->c_fd, timeout);
343 enable_compat20(); 343 enable_compat20();
344 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? 344 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA?
345 "ssh-dss": "ssh-rsa"; 345 "ssh-dss": "ssh-rsa";