diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-15 12:08:28 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-15 12:08:28 +1100 |
commit | a63128d1a8a4077bc992e09d00e2683d1592e500 (patch) | |
tree | d202bbd39fd539ff7173b196df0286636af49f2b /sshd.c | |
parent | cc3e8ba3c24357b912dd7071ba34ab863de593bd (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |