cvs: pear /LiveUser LiveUser.php

From: Date: Mon, 23 Jan 2006 12:29:41 +0000
Subject: cvs: pear /LiveUser LiveUser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-37713@lists.php.net to get a copy of this message
lsmith Mon Jan 23 12:29:41 2006 UTC Modified files: /pear/LiveUser LiveUser.php Log: - fixed API calls to cryptRC4() http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.144&r2=1.145&diff_format=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.144 pear/LiveUser/LiveUser.php:1.145 --- pear/LiveUser/LiveUser.php:1.144 Sun Jan 22 14:07:33 2006 +++ pear/LiveUser/LiveUser.php Mon Jan 23 12:29:41 2006 @@ -40,7 +40,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2005 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: LiveUser.php,v 1.144 2006/01/22 14:07:33 lsmith Exp $ + * @version CVS: $Id: LiveUser.php,v 1.145 2006/01/23 12:29:41 lsmith Exp $ * @link http://pear.php.net/LiveUser */ @@ -1220,7 +1220,7 @@ } $passwd_id = md5($passwd); - $crypted_data = $this->_cryptRC4( + $crypted_data = LiveUser::cryptRC4( serialize(array($passwd_id, $passwd)), $this->_options['cookie']['secret'], true @@ -1305,7 +1305,7 @@ } $serverData = @unserialize( - $this->_cryptRC4($fields, $this->_options['cookie']['secret'], false) + LiveUser::cryptRC4($fields, $this->_options['cookie']['secret'], false) ); if (!is_array($serverData) || count($serverData) != 2) {

« previous php.pear.cvs (#37713) next »