PHP's crypt() function doesn't seem to return MD5 results, even when using an MD5 salt, when it's used in conjunction with Apache2 (2.0.43) and OpenSSL (0.9.6g). Instead, it always returns a DES result. FYI, CRYPT_MD5 = 1 and CRYPT_SALT_LENGTH = 12.
Apache 1.3.x and the same versions of PHP and OpenSSL work fine. Apache 2 compiled without '--enable-ssl' also works fine. PHP standalone works fine. I've also tried other versions of OpenSSL (0.9.6b) and PHP (4.2.2, 4.3.0-dev) and Apache2 (2.0.42). No luck. Does anyone know what might be causing this? Is there a workaround or a fix? Thanks! Don -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php