php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4883 mcrypt incompatibility?
Submitted: 2000-06-08 01:12 UTC Modified: 2000-07-22 21:01 UTC
From: reinke at securityspace dot com Assigned:
Status: Closed Package: mcrypt related
PHP Version: 4.0.0 Release OS: Linux RedHat 4.2
Private report: No CVE-ID: None
 [2000-06-08 01:12 UTC] reinke at securityspace dot com
When attempting to link in mcrypt capability, numerous
warnings and errors are given. The mcrypt
package being used is 2.5.4, while the libmcrypt
version is 2.4.4 (latest available)

It appears as if an interface change has been made -
the compile complains about register_long_constant
passing in strings instead of integers.

The configure line in php was

 ./configure --with-apache=../apache_1.3.9 --enable-debug=no
           --prefix=/usr/local/apache
            --with-zlib --with-imap --with-mcrypt
           --with-mhash --with-pgsql --with-gd

After fixing a bunch of undefined variables (e.g. BLOWFISH_448
doesn't exist - changed it to BLOWFISH, and so on, in the
ext/mcrypt/mcrypt.c file, the compile then complains about the
type definition mismatch as described above.  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-22 21:01 UTC] david at cvs dot php dot net
Yes. use 2.2.7 for now. support for later versions is being worked on.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC