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

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.6.2.4 and 1.6.2.5

version 1.6.2.4, 2001/03/21 19:46:22 version 1.6.2.5, 2001/05/07 21:09:26
Line 83 
Line 83 
 #ifdef KRB4  #ifdef KRB4
             (!options.kerberos_authentication || options.kerberos_or_local_passwd) &&              (!options.kerberos_authentication || options.kerberos_or_local_passwd) &&
 #endif  #endif
             auth_password(pw, "")) {              auth_password(authctxt, "")) {
                 auth_log(authctxt, 1, "without authentication", "");                  auth_log(authctxt, 1, "without authentication", "");
                 return;                  return;
         }          }
Line 244 
Line 244 
                         packet_integrity_check(plen, 4 + dlen, type);                          packet_integrity_check(plen, 4 + dlen, type);
   
                         /* Try authentication with the password. */                          /* Try authentication with the password. */
                         authenticated = auth_password(pw, password);                          authenticated = auth_password(authctxt, password);
   
                         memset(password, 0, strlen(password));                          memset(password, 0, strlen(password));
                         xfree(password);                          xfree(password);
Line 284 
Line 284 
                         log("Unknown message during authentication: type %d", type);                          log("Unknown message during authentication: type %d", type);
                         break;                          break;
                 }                  }
   #ifdef BSD_AUTH
                   if (authctxt->as) {
                           auth_close(authctxt->as);
                           authctxt->as = NULL;
                   }
   #endif
                 if (!authctxt->valid && authenticated)                  if (!authctxt->valid && authenticated)
                         fatal("INTERNAL ERROR: authenticated invalid user %s",                          fatal("INTERNAL ERROR: authenticated invalid user %s",
                             authctxt->user);                              authctxt->user);
Line 366 
Line 372 
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
   
         xfree(authctxt->user);  
         xfree(authctxt);  
   
         /* Perform session preparation. */          /* Perform session preparation. */
         do_authenticated(pw);          do_authenticated(authctxt);
 }  }

Legend:
Removed from v.1.6.2.4  
changed lines
  Added in v.1.6.2.5