Tera Termの個人的な作業用リポジトリ
Revision | 6ddf06c4a61f2b582adc912a164ddb46adfb17d6 (tree) |
---|---|
Time | 2018-01-12 12:49:46 |
Author | IWAMOTO Kouichi <sue@iwmt...> |
Commiter | IWAMOTO Kouichi |
r7022 での再適用をミスっていたので修正 orz
git-svn-id: svn+ssh://svn.osdn.net/svnroot/ttssh2/trunk@7023 f5f01b69-1e22-0410-acbf-894ab4bd6246
@@ -4973,7 +4973,7 @@ static BOOL handle_SSH2_kexinit(PTInstVar pvar) | ||
4973 | 4973 | logprintf(LOG_LEVEL_VERBOSE, "server proposal: encryption algorithm client to server: %s", buf); |
4974 | 4974 | |
4975 | 4975 | pvar->ciphers[MODE_OUT] = choose_SSH2_cipher_algorithm(buf, myproposal[PROPOSAL_ENC_ALGS_CTOS]); |
4976 | - if (pvar->ciphers[MODE_OUT] == SSH_CIPHER_NONE) { | |
4976 | + if (pvar->ciphers[MODE_OUT] == NULL) { | |
4977 | 4977 | strncpy_s(tmp, sizeof(tmp), "unknown Encrypt algorithm(client to server): ", _TRUNCATE); |
4978 | 4978 | strncat_s(tmp, sizeof(tmp), buf, _TRUNCATE); |
4979 | 4979 | msg = tmp; |
@@ -4997,7 +4997,7 @@ static BOOL handle_SSH2_kexinit(PTInstVar pvar) | ||
4997 | 4997 | logprintf(LOG_LEVEL_VERBOSE, "server proposal: encryption algorithm server to client: %s", buf); |
4998 | 4998 | |
4999 | 4999 | pvar->ciphers[MODE_IN] = choose_SSH2_cipher_algorithm(buf, myproposal[PROPOSAL_ENC_ALGS_STOC]); |
5000 | - if (pvar->ciphers[MODE_IN] == SSH_CIPHER_NONE) { | |
5000 | + if (pvar->ciphers[MODE_IN] == NULL) { | |
5001 | 5001 | strncpy_s(tmp, sizeof(tmp), "unknown Encrypt algorithm(server to client): ", _TRUNCATE); |
5002 | 5002 | strncat_s(tmp, sizeof(tmp), buf, _TRUNCATE); |
5003 | 5003 | msg = tmp; |