PHP 4.0 Bug #6757 Updated: mcrypt_module_open
| From: | Bug Database | Date: | Sat, 30 Sep 2000 22:19:32 +0000 |
| Subject: | PHP 4.0 Bug #6757 Updated: mcrypt_module_open | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33922@lists.php.net to get a copy of this message | ||
ID: 6757
Updated by: derick
Reported By: tgk@digitalstreams.net
Status: Closed
Bug Type: *Configuration Issues
Assigned To:
Comments:
Forgot to close
Previous Comments:
---------------------------------------------------------------------------
[2000-09-16 17:55:27] derick@php.net
It's fixed in the phpdoc-cvs
---------------------------------------------------------------------------
[2000-09-14 09:03:33] tgk@digitalstreams.net
The online documentation at www.php.net under "mcrypt" states in example #2 that you
should use the line:
$td = mcrypt_open_module (MCRYPT_TripleDES, "", MCRYPT_MODE_ECB);
However the function mcrypt_open_module does not exist, atleast in my installation of 4.0.2.
However This line does work:
$td = mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, "");
Is this a typo in the online documentation or a configuration error? I posted a user note against
"mcrypt" in the quick ref section.
I installed libmhash(0.8.2), libmcrypt(2.2.4), and mcrypt(2.5.4), ran ldconfig to update all the
libraries, and configured.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6757