Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7476 by doda, Wed Mar 13 03:13:55 2019 UTC revision 7477 by doda, Wed Mar 13 03:14:00 2019 UTC
# Line 1452  static BOOL handle_TIS_challenge(PTInstV Line 1452  static BOOL handle_TIS_challenge(PTInstV
1452                  if (grab_payload(pvar, len)) {                  if (grab_payload(pvar, len)) {
1453                          logputs(LOG_LEVEL_VERBOSE, "Received TIS challenge");                          logputs(LOG_LEVEL_VERBOSE, "Received TIS challenge");
1454    
1455                          AUTH_set_TIS_mode(pvar, pvar->ssh_state.payload + 4, len);                          AUTH_set_TIS_mode(pvar, pvar->ssh_state.payload + 4, len, 0);
1456                          AUTH_advance_to_next_cred(pvar);                          AUTH_advance_to_next_cred(pvar);
1457                          pvar->ssh_state.status_flags &= ~STATUS_DONT_SEND_CREDENTIALS;                          pvar->ssh_state.status_flags &= ~STATUS_DONT_SEND_CREDENTIALS;
1458                          try_send_credentials(pvar);                          try_send_credentials(pvar);
# Line 7200  BOOL handle_SSH2_userauth_inforeq(PTInst Line 7200  BOOL handle_SSH2_userauth_inforeq(PTInst
7200                  // keyboard-interactive method (2005.3.12 yutaka)                  // keyboard-interactive method (2005.3.12 yutaka)
7201                  if (pvar->keyboard_interactive_password_input == 0 &&                  if (pvar->keyboard_interactive_password_input == 0 &&
7202                          pvar->auth_state.cur_cred.method == SSH_AUTH_TIS) {                          pvar->auth_state.cur_cred.method == SSH_AUTH_TIS) {
7203                          AUTH_set_TIS_mode(pvar, prompt, slen);                          AUTH_set_TIS_mode(pvar, prompt, slen, echo);
7204                          AUTH_advance_to_next_cred(pvar);                          AUTH_advance_to_next_cred(pvar);
7205                          pvar->ssh_state.status_flags &= ~STATUS_DONT_SEND_CREDENTIALS;                          pvar->ssh_state.status_flags &= ~STATUS_DONT_SEND_CREDENTIALS;
7206                          //try_send_credentials(pvar);                          //try_send_credentials(pvar);

Legend:
Removed from v.7476  
changed lines
  Added in v.7477

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26