[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.86 and 1.87

version 1.86, 2001/12/05 03:56:39 version 1.87, 2001/12/05 10:06:13
Line 407 
Line 407 
                 }                  }
                 sent = sign_and_send_pubkey(authctxt, key,                  sent = sign_and_send_pubkey(authctxt, key,
                    authctxt->last_key_sign);                     authctxt->last_key_sign);
         } while(0);          } while (0);
   
         if (key != NULL)          if (key != NULL)
                 key_free(key);                  key_free(key);
Line 446 
Line 446 
         if (attempt++ >= options.number_of_password_prompts)          if (attempt++ >= options.number_of_password_prompts)
                 return 0;                  return 0;
   
         if(attempt != 1)          if (attempt != 1)
                 error("Permission denied, please try again.");                  error("Permission denied, please try again.");
   
         snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ",          snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ",
Line 710 
Line 710 
         if (authctxt->agent != NULL) {          if (authctxt->agent != NULL) {
                 do {                  do {
                         sent = userauth_pubkey_agent(authctxt);                          sent = userauth_pubkey_agent(authctxt);
                 } while(!sent && authctxt->agent->howmany > 0);                  } while (!sent && authctxt->agent->howmany > 0);
         }          }
         while (!sent && idx < options.num_identity_files) {          while (!sent && idx < options.num_identity_files) {
                 key = options.identity_keys[idx];                  key = options.identity_keys[idx];

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87