Browse Source

Change: By default, warning is issued when using Diffie-Hellman group 1 key exchange algorithm.

Following PuTTY commit 	34add87
http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commit;h=34add87ad249205d4ed36381bfb506a431dc0e7a

Source commit: 7c9c9b34eefad4d6b7dee219ce5cca5d56ca360c
Martin Prikryl 9 năm trước cách đây
mục cha
commit
f44fa04699
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/core/SessionData.cpp

+ 1 - 1
source/core/SessionData.cpp

@@ -29,7 +29,7 @@ const wchar_t SshProtList[][10] = {L"1", L"1>2", L"2>1", L"2"};
 const TCipher DefaultCipherList[CIPHER_COUNT] =
   { cipAES, cipChaCha20, cipBlowfish, cip3DES, cipWarn, cipArcfour, cipDES };
 const TKex DefaultKexList[KEX_COUNT] =
-  { kexECDH, kexDHGEx, kexDHGroup14, kexDHGroup1, kexRSA, kexWarn };
+  { kexECDH, kexDHGEx, kexDHGroup14, kexRSA, kexWarn, kexDHGroup1 };
 const wchar_t FSProtocolNames[FSPROTOCOL_COUNT][16] = { L"SCP", L"SFTP (SCP)", L"SFTP", L"", L"", L"FTP", L"WebDAV" };
 const int SshPortNumber = 22;
 const int FtpPortNumber = 21;