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