]> andersk Git - openssh.git/blobdiff - kex.c
- djm@cvs.openbsd.org 2004/06/13 12:53:24
[openssh.git] / kex.c
diff --git a/kex.c b/kex.c
index fa5de7ed8bef25f2d9384ab18d5793bff4c59e70..cda8bf9b7bc03fca1f562d3f31b9585b8eeebc11 100644 (file)
--- a/kex.c
+++ b/kex.c
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.58 2004/05/09 01:26:48 djm Exp $");
+RCSID("$OpenBSD: kex.c,v 1.59 2004/06/13 12:53:24 djm Exp $");
 
 #include <openssl/crypto.h>
 
@@ -293,6 +293,8 @@ choose_kex(Kex *k, char *client, char *server)
                fatal("no kex alg");
        if (strcmp(k->name, KEX_DH1) == 0) {
                k->kex_type = KEX_DH_GRP1_SHA1;
+       } else if (strcmp(k->name, KEX_DH14) == 0) {
+               k->kex_type = KEX_DH_GRP14_SHA1;
        } else if (strcmp(k->name, KEX_DHGEX) == 0) {
                k->kex_type = KEX_DH_GEX_SHA1;
        } else
This page took 0.174312 seconds and 4 git commands to generate.