php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6757 mcrypt_module_open
Submitted: 2000-09-14 09:03 UTC Modified: 2000-09-30 18:19 UTC
From: tgk at digitalstreams dot net Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.2 OS: Slackware Linux 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tgk at digitalstreams dot net
New email:
PHP Version: OS:

 

 [2000-09-14 09:03 UTC] tgk at digitalstreams dot 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-16 17:55 UTC] derick@php.net
It's fixed in the phpdoc-cvs
 [2000-09-30 18:19 UTC] derick@php.net
Forgot to close
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC