summaryrefslogtreecommitdiff
path: root/pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-01-05 17:30:37 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:40 +0200
commit09bb25b913728f09ef5515de880a7914988f56cb (patch)
tree9cb020e57eb0fd974b44cead268988f8af9d4629 /pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch
parent7e50b8651e0484fed2aa929d30dc7e27b4dc1121 (diff)
downloadNUR-09bb25b913728f09ef5515de880a7914988f56cb.tar.gz
NUR-09bb25b913728f09ef5515de880a7914988f56cb.tar.zst
NUR-09bb25b913728f09ef5515de880a7914988f56cb.zip
Upgrade phpLDAPAdmin to a fork
Diffstat (limited to 'pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch')
-rw-r--r--pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch36
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 8bc4e7b5..00000000
--- a/pkgs/webapps/phpldapadmin/ldap-disable-mcrypt.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1diff -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';