[287844] Bugzilla password storage change - need to update all the Bugzilla auth code
diff --git a/addons/babel.eclipse.org/backend_functions.php b/addons/babel.eclipse.org/backend_functions.php
index 2789f90..bdbe3ef 100644
--- a/addons/babel.eclipse.org/backend_functions.php
+++ b/addons/babel.eclipse.org/backend_functions.php
@@ -39,13 +39,11 @@
             if(preg_match("/{([^}]+)}$/", $hash, $matches)) {
 				$hash_method 	= $matches[0];
 				$salt 			= substr($hash,0,8);
-  				# Use one or the other, depending on server libs
-				$pw = $salt . str_replace("=", "", base64_encode(hash("sha256", $password . $salt, true))) . $hash_method;
+				$pw = $salt . str_replace("=", "", base64_encode(mhash(MHASH_SHA256, $password . $salt))) . $hash_method;				
 			}
 			else {
   				$pw = crypt($password, $hash);
 			}
-            
                     
         	$sql = "SELECT *
                         FROM users