[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.47 and 1.48

version 1.47, 2001/02/11 12:59:25 version 1.48, 2001/02/15 23:19:59
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);
         packet_put_cstring(password);          ssh_put_password(password);
         memset(password, 0, strlen(password));          memset(password, 0, strlen(password));
         xfree(password);          xfree(password);
         packet_send();          packet_send();
Line 928 
Line 928 
   
                 response = cli_prompt(prompt, echo);                  response = cli_prompt(prompt, echo);
   
                 packet_put_cstring(response);                  ssh_put_password(response);
                 memset(response, 0, strlen(response));                  memset(response, 0, strlen(response));
                 xfree(response);                  xfree(response);
                 xfree(prompt);                  xfree(prompt);

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