summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-01-19 14:50:15 -0500
committerjim-p <jimp@pfsense.org>2012-01-19 14:50:15 -0500
commit6ac18f9d115786ad1ef6eadd907e99e097ecc3ca (patch)
treecf3e29fe854f922f55be30a6c6274e00a371d9dd /etc/inc/auth.inc
parentd9867431a47a87540a1a3a38a2474407b9d37c1f (diff)
downloadpfsense-6ac18f9d115786ad1ef6eadd907e99e097ecc3ca.zip
pfsense-6ac18f9d115786ad1ef6eadd907e99e097ecc3ca.tar.gz
mhash -> hash change from Ermal
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 2d55535..81d3058 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -496,7 +496,7 @@ function local_user_set_password(& $user, $password) {
}
// Generate the NT-HASH from the unicode string
- $user['nt-hash'] = bin2hex(mhash(MHASH_MD4, $ustr));
+ $user['nt-hash'] = bin2hex(hash("md4", $ustr));
}
function local_user_get_groups($user, $all = false) {
OpenPOWER on IntegriCloud