Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0

Request #17828 mhash is deprecated, please switch to hash
Submitted: 2010-08-27 23:21 UTC
From: remicollet Assigned: mbretter
Status: Closed Package: Crypt_CHAP (version 1.0.2)
PHP Version: 5.3.3 OS: GNU/Linux (Fedora 13)
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 - 9 = ?

 
 [2010-08-27 23:21 UTC] remicollet (Remi Collet)
Description: ------------ mhash is deprecated and removed from php 5.3 hash could be used as a replacement and it's provided since php 5.1 Here is a simple patch which fixes this issue. http://remi.fedorapeople.org/Crypt_CHAP-hash.patch The test provided return what is expected. Test script: --------------- php /usr/share/pear/test/Crypt_CHAP/tests/chaptest.php Expected result: ---------------- test ok. Actual result: -------------- Fatal error: Call to undefined function mhash() in /usr/share/pear/Crypt/CHAP.php on line 187

Comments

 [2010-08-27 23:21 UTC] remicollet (Remi Collet)
 [2010-08-28 11:25 UTC] mbretter (Michael Bretterklieber)
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mbretter
 [2010-09-19 09:48 UTC] mbretter (Michael Bretterklieber)
-Status: Assigned +Status: Closed
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/