summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/monitor.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-24 17:36:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-08-24 17:36:53 +0000
commitcd01cbc2cd831341e2cd7e57bf946739b4069eeb (patch)
tree92b3f63d61933d6ee13730c020884414b062d516 /usr.bin/ssh/monitor.c
parentd5278898d9d291e812bde76fdc1721e211d34bb3 (diff)
64 bit cleanups; markus ok
Diffstat (limited to 'usr.bin/ssh/monitor.c')
-rw-r--r--usr.bin/ssh/monitor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c
index bb63e519fe6..017ca931eb9 100644
--- a/usr.bin/ssh/monitor.c
+++ b/usr.bin/ssh/monitor.c
@@ -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>
@@ -1634,8 +1634,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);