diff options
author | Damien Miller <djm@mindrot.org> | 2004-06-15 10:30:09 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-06-15 10:30:09 +1000 |
commit | f675fc4948b2ec2c9ff86bcdd58e00947f0e319b (patch) | |
tree | babb42f0a29e7b24284a731cb894454d8f80fc97 /sshd.c | |
parent | 7cf17eb78c71ba16ec39bb1a6a8640885071a307 (diff) |
- djm@cvs.openbsd.org 2004/06/13 12:53:24
[dh.c dh.h kex.c kex.h kexdhc.c kexdhs.c monitor.c myproposal.h]
[ssh-keyscan.c sshconnect2.c sshd.c]
implement diffie-hellman-group14-sha1 kex method (trivial extension to
existing diffie-hellman-group1-sha1); ok markus@
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.291 2004/05/09 01:19:28 djm Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.292 2004/06/13 12:53:24 djm Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -1774,6 +1774,7 @@ do_ssh2_kex(void) | |||
1774 | /* start key exchange */ | 1774 | /* start key exchange */ |
1775 | kex = kex_setup(myproposal); | 1775 | kex = kex_setup(myproposal); |
1776 | kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; | 1776 | kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; |
1777 | kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server; | ||
1777 | kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; | 1778 | kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; |
1778 | kex->server = 1; | 1779 | kex->server = 1; |
1779 | kex->client_version_string=client_version_string; | 1780 | kex->client_version_string=client_version_string; |