ID:               49311
 Updated by:       j...@php.net
 Reported By:      c58999 at tyldd dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         mcrypt related
 Operating System: Windows
 PHP Version:      5.3.0
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[2009-08-20 15:06:57] c58999 at tyldd dot com

Description:
------------
The arcfour algoritm fails to initialize on PHP 5.3.0 win32. This also
appears to happen with the wake and enigma ciphers. I could also
reproduce this behaviour on PHP 5.2.6-2ubuntu4.2.

Reproduce code:
---------------
$algs = mcrypt_list_algorithms();

foreach($algs as $alg){
        echo "$alg\n";
        $td = mcrypt_module_open($alg, '', 'ecb', '');
        echo "\n";
}

Expected result:
----------------
I would expect this code to execute without any errors.

Actual result:
--------------
C:\php>php mcrypt.php
cast-128
gost
rijndael-128
twofish
cast-256
loki97
rijndael-192
saferplus
wake
PHP Warning:  mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6
blowfish-compat
des
rijndael-256
serpent
xtea
blowfish
enigma
PHP Warning:  mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6
rc2
tripledes
arcfour
PHP Warning:  mcrypt_module_open(): Could not open encryption module in
C:\php\mcrypt.php on line 6


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49311&edit=1

Reply via email to