=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth1.c,v retrieving revision 1.62 retrieving revision 1.62.4.1 diff -u -r1.62 -r1.62.4.1 --- src/usr.bin/ssh/Attic/auth1.c 2005/07/16 01:35:24 1.62 +++ src/usr.bin/ssh/Attic/auth1.c 2006/09/30 04:06:50 1.62.4.1 @@ -1,3 +1,4 @@ +/* $OpenBSD: auth1.c,v 1.62.4.1 2006/09/30 04:06:50 brad Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved @@ -9,9 +10,13 @@ * called by a name other than "ssh" or "Secure Shell". */ -#include "includes.h" -RCSID("$OpenBSD: auth1.c,v 1.62 2005/07/16 01:35:24 djm Exp $"); +#include +#include +#include +#include +#include + #include "xmalloc.h" #include "rsa.h" #include "ssh1.h" @@ -20,10 +25,15 @@ #include "log.h" #include "servconf.h" #include "compat.h" +#include "key.h" +#include "hostfile.h" #include "auth.h" #include "channels.h" #include "session.h" #include "uidswap.h" +#ifdef GSSAPI +#include "ssh-gss.h" +#endif #include "monitor_wrap.h" /* import */ @@ -73,7 +83,7 @@ { int i; - for(i = 0; auth1_methods[i].name != NULL; i++) + for (i = 0; auth1_methods[i].name != NULL; i++) if (auth1_methods[i].type == type) return (&(auth1_methods[i])); @@ -92,6 +102,7 @@ return (buf); } +/*ARGSUSED*/ static int auth1_process_password(Authctxt *authctxt, char *info, size_t infolen) { @@ -116,6 +127,7 @@ return (authenticated); } +/*ARGSUSED*/ static int auth1_process_rsa(Authctxt *authctxt, char *info, size_t infolen) { @@ -133,6 +145,7 @@ return (authenticated); } +/*ARGSUSED*/ static int auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen) { @@ -173,6 +186,7 @@ return (authenticated); } +/*ARGSUSED*/ static int auth1_process_tis_challenge(Authctxt *authctxt, char *info, size_t infolen) { @@ -191,6 +205,7 @@ return (-1); } +/*ARGSUSED*/ static int auth1_process_tis_response(Authctxt *authctxt, char *info, size_t infolen) {