[Bug 1046330] Re: Incorrect crypt() function behavior

2012-09-08 Thread Sergei Morozov
The regression is not the absence of CRYPT_EXT_DES algorithm but the fact that it's declared available (CRYPT_EXT_DES = 1) but not used (result = _.msUWmoj85W6). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu.

[Bug 1046330] [NEW] Incorrect crypt() function behavior

2012-09-05 Thread Sergei Morozov
Public bug reported: The CRYPT_EXT_DES algorithm seems to be enabled but not used for encryption. The test is: php -r echo 'CRYPT_EXT_DES: ', CRYPT_EXT_DES, PHP_EOL, crypt(md5('my passw0rd'), '_.012saltIO.319ikKPU'), PHP_EOL; Expected output (depending on whether CRYPT_EXT_DES is enabled):