diff options
Diffstat (limited to 'kexgsss.c')
-rw-r--r-- | kexgsss.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -32,9 +32,9 @@ | |||
32 | #include <openssl/bn.h> | 32 | #include <openssl/bn.h> |
33 | 33 | ||
34 | #include "xmalloc.h" | 34 | #include "xmalloc.h" |
35 | #include "buffer.h" | 35 | #include "sshbuf.h" |
36 | #include "ssh2.h" | 36 | #include "ssh2.h" |
37 | #include "key.h" | 37 | #include "sshkey.h" |
38 | #include "cipher.h" | 38 | #include "cipher.h" |
39 | #include "kex.h" | 39 | #include "kex.h" |
40 | #include "log.h" | 40 | #include "log.h" |
@@ -220,8 +220,8 @@ kexgss_server(struct ssh *ssh) | |||
220 | kex_dh_hash( | 220 | kex_dh_hash( |
221 | ssh->kex->hash_alg, | 221 | ssh->kex->hash_alg, |
222 | ssh->kex->client_version_string, ssh->kex->server_version_string, | 222 | ssh->kex->client_version_string, ssh->kex->server_version_string, |
223 | buffer_ptr(ssh->kex->peer), buffer_len(ssh->kex->peer), | 223 | sshbuf_ptr(ssh->kex->peer), sshbuf_len(ssh->kex->peer), |
224 | buffer_ptr(ssh->kex->my), buffer_len(ssh->kex->my), | 224 | sshbuf_ptr(ssh->kex->my), sshbuf_len(ssh->kex->my), |
225 | NULL, 0, /* Change this if we start sending host keys */ | 225 | NULL, 0, /* Change this if we start sending host keys */ |
226 | dh_client_pub, dh->pub_key, shared_secret, | 226 | dh_client_pub, dh->pub_key, shared_secret, |
227 | hash, &hashlen | 227 | hash, &hashlen |
@@ -231,8 +231,8 @@ kexgss_server(struct ssh *ssh) | |||
231 | kexgex_hash( | 231 | kexgex_hash( |
232 | ssh->kex->hash_alg, | 232 | ssh->kex->hash_alg, |
233 | ssh->kex->client_version_string, ssh->kex->server_version_string, | 233 | ssh->kex->client_version_string, ssh->kex->server_version_string, |
234 | buffer_ptr(ssh->kex->peer), buffer_len(ssh->kex->peer), | 234 | sshbuf_ptr(ssh->kex->peer), sshbuf_len(ssh->kex->peer), |
235 | buffer_ptr(ssh->kex->my), buffer_len(ssh->kex->my), | 235 | sshbuf_ptr(ssh->kex->my), sshbuf_len(ssh->kex->my), |
236 | NULL, 0, | 236 | NULL, 0, |
237 | min, nbits, max, | 237 | min, nbits, max, |
238 | dh->p, dh->g, | 238 | dh->p, dh->g, |