=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth2-gss.c,v retrieving revision 1.8.4.2 retrieving revision 1.9 diff -u -r1.8.4.2 -r1.9 --- src/usr.bin/ssh/auth2-gss.c 2006/02/03 02:53:44 1.8.4.2 +++ src/usr.bin/ssh/auth2-gss.c 2005/06/17 02:44:32 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-gss.c,v 1.8.4.2 2006/02/03 02:53:44 brad Exp $ */ +/* $OpenBSD: auth2-gss.c,v 1.9 2005/06/17 02:44:32 djm Exp $ */ /* * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. @@ -34,6 +34,7 @@ #include "log.h" #include "dispatch.h" #include "servconf.h" +#include "compat.h" #include "packet.h" #include "monitor_wrap.h" @@ -48,7 +49,7 @@ /* * We only support those mechanisms that we know about (ie ones that we know - * how to check local user kuserok and the like) + * how to check local user kuserok and the like */ static int userauth_gssapi(Authctxt *authctxt) @@ -81,8 +82,9 @@ present = 0; doid = packet_get_string(&len); - if (len > 2 && doid[0] == SSH_GSS_OIDTYPE && - doid[1] == len - 2) { + if (len > 2 && + doid[0] == SSH_GSS_OIDTYPE && + doid[1] == len - 2) { goid.elements = doid + 2; goid.length = len - 2; gss_test_oid_set_member(&ms, &goid, supported, @@ -104,7 +106,7 @@ return (0); } - authctxt->methoddata = (void *)ctxt; + authctxt->methoddata=(void *)ctxt; packet_start(SSH2_MSG_USERAUTH_GSSAPI_RESPONSE);