diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 12:10:48 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 12:10:48 +1000 |
commit | 600ad8de76e12820ed1ff0db71946b4e03d5349c (patch) | |
tree | 1de5249188e5d80b7be3adf01aecba90bf568d6f /monitor.c | |
parent | 6b191a234cff048b9778352fa9ac81296cdde4d4 (diff) |
- deraadt@cvs.openbsd.org 2003/08/24 17:36:52AFTER_KRB5_GSSAPI_MERGE
[monitor.c monitor_wrap.c sshconnect2.c]
64 bit cleanups; markus ok
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -25,7 +25,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: monitor.c,v 1.46 2003/08/22 10:56:09 markus Exp $"); +RCSID("$OpenBSD: monitor.c,v 1.47 2003/08/24 17:36:52 deraadt Exp $"); #include <openssl/dh.h> @@ -1817,8 +1817,10 @@ mm_answer_gss_accept_ctx(int socket, Buffer *m) gss_buffer_desc out = GSS_C_EMPTY_BUFFER; OM_uint32 major,minor; OM_uint32 flags = 0; /* GSI needs this */ + u_int len; - in.value = buffer_get_string(m, &in.length); + in.value = buffer_get_string(m, &len); + in.length = len; major = ssh_gssapi_accept_ctx(gsscontext, &in, &out, &flags); xfree(in.value); |