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

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.104 and 1.105

version 1.104, 2002/06/19 00:27:55 version 1.105, 2002/06/23 03:30:17
Line 299 
Line 299 
                 }                  }
         }          }
 }  }
   
 void  void
 input_userauth_error(int type, u_int32_t seq, void *ctxt)  input_userauth_error(int type, u_int32_t seq, void *ctxt)
 {  {
         fatal("input_userauth_error: bad message during authentication: "          fatal("input_userauth_error: bad message during authentication: "
            "type %d", type);             "type %d", type);
 }  }
   
 void  void
 input_userauth_banner(int type, u_int32_t seq, void *ctxt)  input_userauth_banner(int type, u_int32_t seq, void *ctxt)
 {  {
Line 316 
Line 318 
         xfree(msg);          xfree(msg);
         xfree(lang);          xfree(lang);
 }  }
   
 void  void
 input_userauth_success(int type, u_int32_t seq, void *ctxt)  input_userauth_success(int type, u_int32_t seq, void *ctxt)
 {  {
Line 327 
Line 330 
         clear_auth_state(authctxt);          clear_auth_state(authctxt);
         authctxt->success = 1;                  /* break out */          authctxt->success = 1;                  /* break out */
 }  }
   
 void  void
 input_userauth_failure(int type, u_int32_t seq, void *ctxt)  input_userauth_failure(int type, u_int32_t seq, void *ctxt)
 {  {
Line 375 
Line 379 
         }          }
         packet_check_eom();          packet_check_eom();
   
         debug("input_userauth_pk_ok: pkalg %s blen %d lastkey %p hint %d",          debug("input_userauth_pk_ok: pkalg %s blen %u lastkey %p hint %d",
             pkalg, blen, authctxt->last_key, authctxt->last_key_hint);              pkalg, blen, authctxt->last_key, authctxt->last_key_hint);
   
         do {          do {
Line 894 
Line 898 
 }  }
   
 static int  static int
 ssh_keysign(  ssh_keysign(Key *key, u_char **sigp, u_int *lenp,
     Key *key,  
     u_char **sigp, u_int *lenp,  
     u_char *data, u_int datalen)      u_char *data, u_int datalen)
 {  {
         Buffer b;          Buffer b;
Line 1098 
Line 1100 
 static Authmethod *current = NULL;  static Authmethod *current = NULL;
 static char *supported = NULL;  static char *supported = NULL;
 static char *preferred = NULL;  static char *preferred = NULL;
   
 /*  /*
  * Given the authentication method list sent by the server, return the   * Given the authentication method list sent by the server, return the
  * next method we should try.  If the server initially sends a nil list,   * next method we should try.  If the server initially sends a nil list,

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105