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)    

 [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. 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


 [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