diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 17:52:53 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 17:52:53 +0000 |
commit | 238abf6a14d6ed038918fa35f618089230e68fd6 (patch) | |
tree | 7a856c03b822853fc08ef711e6a0bf05c738e6a0 /sshd.c | |
parent | 22b19b43e420c9fc711a38631187820573d0f047 (diff) |
- markus@cvs.openbsd.org 2001/04/04 09:48:35
[kex.c kex.h kexdh.c kexgex.c packet.c sshconnect2.c sshd.c]
don't sent multiple kexinit-requests.
send newkeys, block while waiting for newkeys.
fix comments.
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.187 2001/04/03 23:32:12 markus Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.188 2001/04/04 09:48:35 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -1425,7 +1425,7 @@ do_ssh2_kex(void) | |||
1425 | } | 1425 | } |
1426 | myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types(); | 1426 | myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types(); |
1427 | 1427 | ||
1428 | kex = kex_start(myproposal); | 1428 | kex = kex_setup(myproposal); |
1429 | kex->server = 1; | 1429 | kex->server = 1; |
1430 | kex->client_version_string=client_version_string; | 1430 | kex->client_version_string=client_version_string; |
1431 | kex->server_version_string=server_version_string; | 1431 | kex->server_version_string=server_version_string; |