[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.45 and 1.46

version 1.45, 2001/02/09 17:10:53 version 1.46, 2001/02/10 12:09:21
Line 882 
Line 882 
 }  }
   
 /*  /*
  * parse SSH2_MSG_USERAUTH_INFO_REQUEST, prompt user and send   * parse INFO_REQUEST, prompt user and send INFO_RESPONSE
  * SSH2_MSG_USERAUTH_INFO_RESPONSE  
  */   */
 void  void
 input_userauth_info_req(int type, int plen, void *ctxt)  input_userauth_info_req(int type, int plen, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
         char *name = NULL;          char *name, *inst, *lang, *prompt, *response;
         char *inst = NULL;  
         char *lang = NULL;  
         char *prompt = NULL;  
         char *response = NULL;  
         u_int num_prompts, i;          u_int num_prompts, i;
         int echo = 0;          int echo = 0;
   
Line 905 
Line 900 
         name = packet_get_string(NULL);          name = packet_get_string(NULL);
         inst = packet_get_string(NULL);          inst = packet_get_string(NULL);
         lang = packet_get_string(NULL);          lang = packet_get_string(NULL);
   
         if (strlen(name) > 0)          if (strlen(name) > 0)
                 cli_mesg(name);                  cli_mesg(name);
         xfree(name);  
   
         if (strlen(inst) > 0)          if (strlen(inst) > 0)
                 cli_mesg(inst);                  cli_mesg(inst);
           xfree(name);
         xfree(inst);          xfree(inst);
         xfree(lang);                            /* unused */          xfree(lang);
   
         num_prompts = packet_get_int();          num_prompts = packet_get_int();
         /*          /*

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46