ID: 24052 Updated by: [EMAIL PROTECTED] Reported By: wkongucd at yahoo dot com -Status: Open +Status: Bogus Bug Type: mcrypt related Operating System: Windows 2000 PHP Version: 4.3.2 Assigned To: edink New Comment:
Make sure you really updated EVERYTHING. Previous Comments: ------------------------------------------------------------------------ [2003-06-17 00:12:25] wkongucd at yahoo dot com Yes, I used the php_mcrypt.dll file that was distributed from PHP 4.3.2. I also used the libmcrypt.dll file the I downloaded from http://ftp.proventum.net/pub/php/win32/misc/mcrypt/ I still get the fatal error message for only mcrypt_generic_deinit() ------------------------------------------------------------------------ [2003-06-14 13:33:35] [EMAIL PROTECTED] Are you sure you have used php_mcrypt.dll from php 4.3.2 distribution? ------------------------------------------------------------------------ [2003-06-06 01:09:38] [EMAIL PROTECTED] Edin, another missing -D for win32 build? HAVE_MCRYPT_GENERIC_DEINIT (or it should be 'ifdef' in mcrypt.c ?? ------------------------------------------------------------------------ [2003-06-05 21:58:56] wkongucd at yahoo dot com I used the following code: <?php $key = "this is a secret key"; $input = "Let us meet at 9 o'clock at the secret place."; $td = mcrypt_module_open ('tripledes', '', 'ecb', ''); $iv = mcrypt_create_iv (mcrypt_enc_get_iv_size ($td), MCRYPT_RAND); mcrypt_generic_init ($td, $key, $iv); $encrypted_data = mcrypt_generic ($td, $input); mcrypt_generic_deinit ($td); mcrypt_module_close ($td); ?> In my php.ini file: extension=php_mcrypt.dll I use IIS 5.0 server and use SAPI filters. The error message I get is: Fatal error: Call to undefined function: mcrypt_generic_deinit() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24052&edit=1