#27062 [Asn->Fbk]: mdecrypt_generic() doesn't decrypt anything

From: Date: Fri, 30 Jan 2004 00:06:52 +0000
Subject: #27062 [Asn->Fbk]: mdecrypt_generic() doesn't decrypt anything
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54155@lists.php.net to get a copy of this message
ID: 27062 Updated by: edink@php.net Reported By: yu at csh dot dp dot ua -Status: Assigned +Status: Feedback Bug Type: mcrypt related Operating System: Windows XXXX only PHP Version: 4.3.4 Assigned To: edink New Comment: DLL is damaged? Can you be a bit more specific? And you will not be able to find libmcrypt.dll v.2.5.7 on the internet because mcrypt people don't support windows at all. Previous Comments: ------------------------------------------------------------------------ [2004-01-29 15:01:41] derick@php.net Bug for you Edin :) To reporter: DON'T USE THE OLD FUNCTIONS, just don't use _deinit and you'll be fine. ------------------------------------------------------------------------ [2004-01-29 13:59:32] yu at csh dot dp dot ua Problem have been localized - this libmcrypt.dll v.2.5.7, downloaded from http://ftp.emini.dk/pub/php/win32/mcrypt/. This DLL is damaged and need recompilation. Additionally it makes error "Memory can't be read at adress ..." and server closes connection on some functions. Usage the libmcrypt.dll v.2.5.5 from http://ftp.proventum.net/pub/php/win32/misc/mcrypt/ decides this problem. But this is older version - it doesn't have mcrypt_generic_deinit() function (I don't know how mcrypt_generic_init() will work without mcrypt_generic_deinit()). Additionally mcrypt_list_algorithms() has little error, BUT old-type encryption functions (mcrypt_encrypt() and mcrypt_decrypt()) work well!!! I am not C-programmer to recompile source and can't to find into Internet correct libmcrypt.dll v.2.5.7. ------------------------------------------------------------------------ [2004-01-28 06:51:23] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works fine with latest CVS snapshot on windows for me.. Maybe this was (s)rand() related? (there was some stuff fixed relating to it) ------------------------------------------------------------------------ [2004-01-27 16:32:11] derick@php.net Must be a library issue then, it's not thread safe AFAIK. ------------------------------------------------------------------------ [2004-01-27 16:26:23] sniper@php.net CLI != ZTS enabled webserver, e.g. Apache2 with worker MPM.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27062 -- Edit this bug report at http://bugs.php.net/?id=27062&edit=1

« previous php.bugs (#54155) next »