diff options
Diffstat (limited to 'pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch')
-rw-r--r-- | pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch b/pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch deleted file mode 100644 index 8bc4e7b..0000000 --- a/pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | diff -wbBur phpldapadmin-1.2.3/lib/functions.php phpldapadmin-1.2.3.my/lib/functions.php | ||
2 | --- phpldapadmin-1.2.3/lib/functions.php 2012-10-01 10:54:14.000000000 +0400 | ||
3 | +++ phpldapadmin-1.2.3.my/lib/functions.php 2017-02-02 20:02:14.424245233 +0300 | ||
4 | @@ -745,6 +745,7 @@ | ||
5 | if (! trim($secret)) | ||
6 | return $data; | ||
7 | |||
8 | +/* | ||
9 | if (function_exists('mcrypt_module_open') && ! empty($data)) { | ||
10 | $td = mcrypt_module_open(MCRYPT_BLOWFISH,'',MCRYPT_MODE_ECB,''); | ||
11 | $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td),MCRYPT_DEV_URANDOM); | ||
12 | @@ -754,7 +755,7 @@ | ||
13 | |||
14 | return $encrypted_data; | ||
15 | } | ||
16 | - | ||
17 | +*/ | ||
18 | if (file_exists(LIBDIR.'blowfish.php')) | ||
19 | require_once LIBDIR.'blowfish.php'; | ||
20 | else | ||
21 | @@ -801,6 +802,7 @@ | ||
22 | if (! trim($secret)) | ||
23 | return $encdata; | ||
24 | |||
25 | +/* | ||
26 | if (function_exists('mcrypt_module_open') && ! empty($encdata)) { | ||
27 | $td = mcrypt_module_open(MCRYPT_BLOWFISH,'',MCRYPT_MODE_ECB,''); | ||
28 | $iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td),MCRYPT_DEV_URANDOM); | ||
29 | @@ -810,6 +812,7 @@ | ||
30 | |||
31 | return $decrypted_data; | ||
32 | } | ||
33 | +*/ | ||
34 | |||
35 | if (file_exists(LIBDIR.'blowfish.php')) | ||
36 | require_once LIBDIR.'blowfish.php'; | ||