[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.115 and 1.116

version 1.115, 2003/04/02 09:48:07 version 1.116, 2003/04/08 20:21:29
Line 82 
Line 82 
         xxx_hostaddr = hostaddr;          xxx_hostaddr = hostaddr;
   
         if (options.ciphers == (char *)-1) {          if (options.ciphers == (char *)-1) {
                 log("No valid ciphers for protocol version 2 given, using defaults.");                  logit("No valid ciphers for protocol version 2 given, using defaults.");
                 options.ciphers = NULL;                  options.ciphers = NULL;
         }          }
         if (options.ciphers != NULL) {          if (options.ciphers != NULL) {
Line 349 
Line 349 
         packet_check_eom();          packet_check_eom();
   
         if (partial != 0)          if (partial != 0)
                 log("Authenticated with partial success.");                  logit("Authenticated with partial success.");
         debug("Authentications that can continue: %s", authlist);          debug("Authentications that can continue: %s", authlist);
   
         clear_auth_state(authctxt);          clear_auth_state(authctxt);
Line 494 
Line 494 
         info = packet_get_string(NULL);          info = packet_get_string(NULL);
         lang = packet_get_string(NULL);          lang = packet_get_string(NULL);
         if (strlen(info) > 0)          if (strlen(info) > 0)
                 log("%s", info);                  logit("%s", info);
         xfree(info);          xfree(info);
         xfree(lang);          xfree(lang);
         packet_start(SSH2_MSG_USERAUTH_REQUEST);          packet_start(SSH2_MSG_USERAUTH_REQUEST);
Line 526 
Line 526 
                 if (strcmp(password, retype) != 0) {                  if (strcmp(password, retype) != 0) {
                         memset(password, 0, strlen(password));                          memset(password, 0, strlen(password));
                         xfree(password);                          xfree(password);
                         log("Mismatch; try again, EOF to quit.");                          logit("Mismatch; try again, EOF to quit.");
                         password = NULL;                          password = NULL;
                 }                  }
                 memset(retype, 0, strlen(retype));                  memset(retype, 0, strlen(retype));
Line 865 
Line 865 
         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)
                 log("%s", name);                  logit("%s", name);
         if (strlen(inst) > 0)          if (strlen(inst) > 0)
                 log("%s", inst);                  logit("%s", inst);
         xfree(name);          xfree(name);
         xfree(inst);          xfree(inst);
         xfree(lang);          xfree(lang);

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116