diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 1c52231b9..895156704 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.63 2001/04/04 00:06:54 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.64 2001/04/04 09:48:35 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -111,7 +111,7 @@ ssh_kex2(char *host, struct sockaddr *hostaddr) | |||
111 | myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs; | 111 | myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs; |
112 | } | 112 | } |
113 | 113 | ||
114 | kex = kex_start(myproposal); | 114 | kex = kex_setup(myproposal); |
115 | kex->client_version_string=client_version_string; | 115 | kex->client_version_string=client_version_string; |
116 | kex->server_version_string=server_version_string; | 116 | kex->server_version_string=server_version_string; |
117 | kex->check_host_key=&check_host_key_callback; | 117 | kex->check_host_key=&check_host_key_callback; |
@@ -254,7 +254,7 @@ ssh_userauth2(const char *server_user, char *host) | |||
254 | /* initial userauth request */ | 254 | /* initial userauth request */ |
255 | userauth_none(&authctxt); | 255 | userauth_none(&authctxt); |
256 | 256 | ||
257 | //dispatch_init(&input_userauth_error); | 257 | /* dispatch_init(&input_userauth_error); */ |
258 | for (i = 50; i <= 254; i++) { | 258 | for (i = 50; i <= 254; i++) { |
259 | dispatch_set(i, &input_userauth_error); | 259 | dispatch_set(i, &input_userauth_error); |
260 | } | 260 | } |