diff options
author | 2003-02-16 17:09:57 +0000 | |
---|---|---|
committer | 2003-02-16 17:09:57 +0000 | |
commit | 7aa5677f5892a64c64f8a09c3dc8804ebf23bbf5 (patch) | |
tree | 4e40f4d7e8f891752318e1e9544055b459824fe2 /usr.bin/ssh/ssh-keyscan.c | |
parent | typo (diff) | |
download | wireguard-openbsd-7aa5677f5892a64c64f8a09c3dc8804ebf23bbf5.tar.xz wireguard-openbsd-7aa5677f5892a64c64f8a09c3dc8804ebf23bbf5.zip |
split kex into client and server code, no need to link
server code into the client; ok provos@
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r-- | usr.bin/ssh/ssh-keyscan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c index 897ea69b566..2ff9f19206a 100644 --- a/usr.bin/ssh/ssh-keyscan.c +++ b/usr.bin/ssh/ssh-keyscan.c @@ -7,7 +7,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-keyscan.c,v 1.40 2002/07/06 17:47:58 stevesk Exp $"); +RCSID("$OpenBSD: ssh-keyscan.c,v 1.41 2003/02/16 17:09:57 markus Exp $"); #include <sys/queue.h> #include <errno.h> @@ -335,6 +335,8 @@ keygrab_ssh2(con *c) myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? "ssh-dss": "ssh-rsa"; c->c_kex = kex_setup(myproposal); + c->c_kex->kex[KEX_DH_GRP1_SHA1] = kexdh_client; + c->c_kex->kex[KEX_DH_GEX_SHA1] = kexgex_client; c->c_kex->verify_host_key = hostjump; if (!(j = setjmp(kexjmp))) { |