[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.48 and 1.49

version 1.48, 2001/02/15 23:19:59 version 1.49, 2001/02/28 09:57:07
Line 658 
Line 658 
         packet_put_cstring(authctxt->service);          packet_put_cstring(authctxt->service);
         packet_put_cstring(authctxt->method->name);          packet_put_cstring(authctxt->method->name);
         packet_put_char(0);          packet_put_char(0);
         ssh_put_password(password);          packet_put_cstring(password);
         memset(password, 0, strlen(password));          memset(password, 0, strlen(password));
         xfree(password);          xfree(password);
           packet_inject_ignore(64);
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
         return 1;          return 1;
Line 928 
Line 929 
   
                 response = cli_prompt(prompt, echo);                  response = cli_prompt(prompt, echo);
   
                 ssh_put_password(response);                  packet_put_cstring(response);
                 memset(response, 0, strlen(response));                  memset(response, 0, strlen(response));
                 xfree(response);                  xfree(response);
                 xfree(prompt);                  xfree(prompt);
         }          }
         packet_done(); /* done with parsing incoming message. */          packet_done(); /* done with parsing incoming message. */
   
           packet_inject_ignore(64);
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
 }  }

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49