1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
diff -up Net_SSH2-0.3.6/SSH2.php.orig Net_SSH2-0.3.6/SSH2.php
--- Net_SSH2-0.3.6/SSH2.php.orig 2014-02-26 18:06:35.698241870 +0100
+++ Net_SSH2-0.3.6/SSH2.php 2014-02-26 18:17:42.433603190 +0100
@@ -1060,7 +1060,7 @@ class Net_SSH2
array('twofish128-ctr', 'twofish192-ctr', 'twofish256-ctr', 'twofish128-cbc', 'twofish192-cbc', 'twofish256-cbc', 'twofish-cbc')
);
}
- if (!$this->_is_includable('Crypt/Blowfish.php')) {
+ if (!$this->_is_includable('Crypt/Blowfish-phpseclib.php')) {
$encryption_algorithms = array_diff(
$encryption_algorithms,
array('blowfish-ctr', 'blowfish-cbc')
@@ -1428,14 +1428,14 @@ class Net_SSH2
break;
case 'blowfish-cbc':
if (!class_exists('Crypt_Blowfish')) {
- include_once 'Crypt/Blowfish.php';
+ include_once 'Crypt/Blowfish-phpseclib.php';
}
$this->encrypt = new Crypt_Blowfish();
$this->encrypt_block_size = 8;
break;
case 'blowfish-ctr':
if (!class_exists('Crypt_Blowfish')) {
- include_once 'Crypt/Blowfish.php';
+ include_once 'Crypt/Blowfish-phpseclib.php';
}
$this->encrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR);
$this->encrypt_block_size = 8;
@@ -1504,14 +1504,14 @@ class Net_SSH2
break;
case 'blowfish-cbc':
if (!class_exists('Crypt_Blowfish')) {
- include_once 'Crypt/Blowfish.php';
+ include_once 'Crypt/Blowfish-phpseclib.php';
}
$this->decrypt = new Crypt_Blowfish();
$this->decrypt_block_size = 8;
break;
case 'blowfish-ctr':
if (!class_exists('Crypt_Blowfish')) {
- include_once 'Crypt/Blowfish.php';
+ include_once 'Crypt/Blowfish-phpseclib.php';
}
$this->decrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR);
$this->decrypt_block_size = 8;
|