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