diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 04:10:48 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-08-26 04:10:48 +0200 |
commit | 600ad8de76e12820ed1ff0db71946b4e03d5349c (patch) | |
tree | 1de5249188e5d80b7be3adf01aecba90bf568d6f /monitor.c | |
parent | - markus@cvs.openbsd.org 2003/08/22 20:55:06 (diff) | |
download | openssh-600ad8de76e12820ed1ff0db71946b4e03d5349c.tar.xz openssh-600ad8de76e12820ed1ff0db71946b4e03d5349c.zip |
- 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); |