|
@@ -2019,8 +2019,8 @@ TCipher __fastcall TSecureShell::FuncToSsh1Cipher(const void * Cipher)
|
|
|
TCipher __fastcall TSecureShell::FuncToSsh2Cipher(const void * Cipher)
|
|
|
{
|
|
|
const ssh2_ciphers *CipherFuncs[] =
|
|
|
- {&ssh2_3des, &ssh2_des, &ssh2_aes, &ssh2_blowfish, &ssh2_arcfour};
|
|
|
- const TCipher TCiphers[] = {cip3DES, cipDES, cipAES, cipBlowfish, cipArcfour};
|
|
|
+ {&ssh2_3des, &ssh2_des, &ssh2_aes, &ssh2_blowfish, &ssh2_arcfour, &ssh2_ccp};
|
|
|
+ const TCipher TCiphers[] = {cip3DES, cipDES, cipAES, cipBlowfish, cipArcfour, cipChaCha20};
|
|
|
DebugAssert(LENOF(CipherFuncs) == LENOF(TCiphers));
|
|
|
TCipher Result = cipWarn;
|
|
|
|