Bug #9177 Updated: crypt problems with openssl
| From: | sniper@php.net | Date: | Mon, 23 Apr 2001 07:34:55 +0000 |
| Subject: | Bug #9177 Updated: crypt problems with openssl | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52172@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: Closed
Bug Type: *Encryption and hash functions
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Fixed in CVS.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-18 16:41:52] sniper@php.net
My bad. It was only discussed about, not fixed..
--Jani
---------------------------------------------------------------------------
[2001-02-15 11:35:43] sniper@php.net
IIRC this is fixed already in CVS so please try the latest CVS snapshot
from http://snaps.php.net/
--Jani
---------------------------------------------------------------------------
[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]='