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  


 [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/
 [2021-04-18 04:47 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!