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 3039 by maya, Wed Oct 17 04:03:41 2007 UTC revision 3041 by maya, Wed Oct 17 05:20:49 2007 UTC
# Line 3483  static SSHCipher choose_SSH2_cipher_algo Line 3483  static SSHCipher choose_SSH2_cipher_algo
3483                  }                  }
3484                  ptr = strtok(NULL, ",");                  ptr = strtok(NULL, ",");
3485          }          }
3486    
3487            // サーバの proposal に、クライアントの proposal がひとつも
3488            // 含まれていない場合 (2007.10.17 maya)
3489            if (ptr == NULL) {
3490                    return (cipher);
3491            }
3492    
3493          if (strstr(ptr, "3des-cbc")) {          if (strstr(ptr, "3des-cbc")) {
3494                  cipher = SSH_CIPHER_3DES_CBC;                  cipher = SSH_CIPHER_3DES_CBC;
3495          } else if (strstr(ptr, "aes128-cbc")) {          } else if (strstr(ptr, "aes128-cbc")) {

Legend:
Removed from v.3039  
changed lines
  Added in v.3041

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