]> andersk Git - gssapi-openssh.git/blobdiff - openssh/ssh-keyscan.c
Import of OpenSSH 3.6.1p1
[gssapi-openssh.git] / openssh / ssh-keyscan.c
index 8c14d6d2651cd13be7c2c9c8bd3171a90d7e4b39..5b4eb82d1fc058011731af658be12ec504d832e1 100644 (file)
@@ -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 "openbsd-compat/sys-queue.h"
 
@@ -354,6 +354,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))) {
This page took 0.209126 seconds and 4 git commands to generate.