summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 12:08:28 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 12:08:28 +1100
commita63128d1a8a4077bc992e09d00e2683d1592e500 (patch)
treed202bbd39fd539ff7173b196df0286636af49f2b /sshd.c
parentcc3e8ba3c24357b912dd7071ba34ab863de593bd (diff)
- djm@cvs.openbsd.org 2006/03/07 09:07:40
[kex.c kex.h monitor.c myproposal.h ssh-keyscan.c sshconnect2.c sshd.c] Implement the diffie-hellman-group-exchange-sha256 key exchange method using the SHA256 code in libc (and wrapper to make it into an OpenSSL EVP), interop tested against CVS PuTTY NB. no portability bits committed yet
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 19c2d96ad..6f458eb3b 100644
--- a/sshd.c
+++ b/sshd.c
@@ -2042,6 +2042,7 @@ do_ssh2_kex(void)
2042 kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; 2042 kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server;
2043 kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server; 2043 kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server;
2044 kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; 2044 kex->kex[KEX_DH_GEX_SHA1] = kexgex_server;
2045 kex->kex[KEX_DH_GEX_SHA256] = kexgex_server;
2045 kex->server = 1; 2046 kex->server = 1;
2046 kex->client_version_string=client_version_string; 2047 kex->client_version_string=client_version_string;
2047 kex->server_version_string=server_version_string; 2048 kex->server_version_string=server_version_string;