PHP 4.0 Bug #9177 Updated: crypt problems with openssl

From: Date: Thu, 15 Feb 2001 16:35:43 +0000
Subject: PHP 4.0 Bug #9177 Updated: crypt problems with openssl
Groups: php.dev 
Request: Send a blank email to php-dev+get-46672@lists.php.net to get a copy of this message
ID: 9177 Updated by: sniper Reported By: max@the-triumvirate.net Old-Status: Open Status: Feedback Bug Type: *Install and Config Assigned To: Comments: IIRC this is fixed already in CVS so please try the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-08 14:39:57] max@the-triumvirate.net MD5 crypt fails if PHP is compiled with openssl (specifically with the -lcrypto) If the .c file comes before the libraries, gcc won't recognize MD5 crypt: ----- blah.c ----- root# cat blah.c #include <crypt.h> main() { char salt[15], answer[40]; salt[0]='$'; salt[1]='1'; salt[2]='$'; salt[3]='r'; salt[4]='a'; salt[5]='s'; salt[6]='m'; salt[7]='u'; salt[8]='s'; salt[9]='l'; salt[10]='e'; salt[11]='$'; salt[12]='

« previous php.dev (#46672) next »