summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-05-18 10:23:59 +0000
committerthomascube <thomas@roundcube.net>2008-05-18 10:23:59 +0000
commit26539d5f9957b95d63f607ed8359f586a03f4651 (patch)
tree57e4eec66c0050135bbbf6a81605e081513d0907
parent8fa58e72a333d753ec406d0725ac9c1b40ab6d9a (diff)
Made encrypt_passwd method public as requested in #1485071
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 5bde8d465..04928b2e3 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -758,7 +758,7 @@ class rcmail
* @param string Password to encrypt
* @return string Encryprted string
*/
- private function encrypt_passwd($pass)
+ public function encrypt_passwd($pass)
{
if (function_exists('mcrypt_module_open') && ($td = mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, ""))) {
$iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);