[BACK]Return to auth1.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.62.4.1 and 1.63

version 1.62.4.1, 2006/09/30 04:06:50 version 1.63, 2006/03/19 18:51:18
Line 1 
Line 1 
 /* $OpenBSD$ */  
 /*  /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
Line 10 
Line 9 
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  */   */
   
 #include <sys/types.h>  #include "includes.h"
   
 #include <stdio.h>  
 #include <string.h>  
 #include <unistd.h>  
 #include <pwd.h>  
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "rsa.h"  #include "rsa.h"
 #include "ssh1.h"  #include "ssh1.h"
Line 25 
Line 19 
 #include "log.h"  #include "log.h"
 #include "servconf.h"  #include "servconf.h"
 #include "compat.h"  #include "compat.h"
 #include "key.h"  
 #include "hostfile.h"  
 #include "auth.h"  #include "auth.h"
 #include "channels.h"  #include "channels.h"
 #include "session.h"  #include "session.h"
 #include "uidswap.h"  #include "uidswap.h"
 #ifdef GSSAPI  
 #include "ssh-gss.h"  
 #endif  
 #include "monitor_wrap.h"  #include "monitor_wrap.h"
   
 /* import */  /* import */
Line 83 
Line 72 
 {  {
         int i;          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)                  if (auth1_methods[i].type == type)
                         return (&(auth1_methods[i]));                          return (&(auth1_methods[i]));
   
Line 102 
Line 91 
         return (buf);          return (buf);
 }  }
   
 /*ARGSUSED*/  
 static int  static int
 auth1_process_password(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_password(Authctxt *authctxt, char *info, size_t infolen)
 {  {
Line 127 
Line 115 
         return (authenticated);          return (authenticated);
 }  }
   
 /*ARGSUSED*/  
 static int  static int
 auth1_process_rsa(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_rsa(Authctxt *authctxt, char *info, size_t infolen)
 {  {
Line 145 
Line 132 
         return (authenticated);          return (authenticated);
 }  }
   
 /*ARGSUSED*/  
 static int  static int
 auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)
 {  {
Line 186 
Line 172 
         return (authenticated);          return (authenticated);
 }  }
   
 /*ARGSUSED*/  
 static int  static int
 auth1_process_tis_challenge(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_tis_challenge(Authctxt *authctxt, char *info, size_t infolen)
 {  {
Line 205 
Line 190 
         return (-1);          return (-1);
 }  }
   
 /*ARGSUSED*/  
 static int  static int
 auth1_process_tis_response(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_tis_response(Authctxt *authctxt, char *info, size_t infolen)
 {  {

Legend:
Removed from v.1.62.4.1  
changed lines
  Added in v.1.63