summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 3231ee342..6a9292487 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keyscan.c,v 1.110 2017/04/30 23:10:43 djm Exp $ */ 1/* $OpenBSD: ssh-keyscan.c,v 1.111 2017/04/30 23:13:25 djm Exp $ */
2/* 2/*
3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>. 3 * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
4 * 4 *
@@ -221,7 +221,6 @@ keygrab_ssh2(con *c)
221 char *myproposal[PROPOSAL_MAX] = { KEX_CLIENT }; 221 char *myproposal[PROPOSAL_MAX] = { KEX_CLIENT };
222 int r; 222 int r;
223 223
224 enable_compat20();
225 switch (c->c_keytype) { 224 switch (c->c_keytype) {
226 case KT_DSA: 225 case KT_DSA:
227 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ? 226 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = get_cert ?