- fixed a few bad constants (thanks, YeongGwon Jeong!)

git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@41 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
Jim Wigginton 2009-08-09 03:53:28 +00:00
parent d6339e014f
commit a90471b937
2 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@
* @author Jim Wigginton <terrafrost@php.net> * @author Jim Wigginton <terrafrost@php.net>
* @copyright MMVIII Jim Wigginton * @copyright MMVIII Jim Wigginton
* @license http://www.gnu.org/licenses/lgpl.txt * @license http://www.gnu.org/licenses/lgpl.txt
* @version $Id: Rijndael.php,v 1.4 2009-05-27 16:25:35 terrafrost Exp $ * @version $Id: Rijndael.php,v 1.5 2009-08-09 03:53:28 terrafrost Exp $
* @link http://phpseclib.sourceforge.net * @link http://phpseclib.sourceforge.net
*/ */
@ -358,7 +358,7 @@ class Crypt_Rijndael {
* @return Crypt_Rijndael * @return Crypt_Rijndael
* @access public * @access public
*/ */
function Crypt_Rijndael($mode = CRYPT_MODE_RIJNDAEL_CBC) function Crypt_Rijndael($mode = CRYPT_RIJNDAEL_MODE_CBC)
{ {
switch ($mode) { switch ($mode) {
case CRYPT_RIJNDAEL_MODE_ECB: case CRYPT_RIJNDAEL_MODE_ECB:

View File

@ -48,7 +48,7 @@
* @author Jim Wigginton <terrafrost@php.net> * @author Jim Wigginton <terrafrost@php.net>
* @copyright MMIX Jim Wigginton * @copyright MMIX Jim Wigginton
* @license http://www.gnu.org/licenses/lgpl.txt * @license http://www.gnu.org/licenses/lgpl.txt
* @version $Id: SFTP.php,v 1.4 2009-06-09 04:00:38 terrafrost Exp $ * @version $Id: SFTP.php,v 1.5 2009-08-09 03:53:28 terrafrost Exp $
* @link http://phpseclib.sourceforge.net * @link http://phpseclib.sourceforge.net
*/ */
@ -1247,7 +1247,7 @@ class Net_SFTP extends Net_SSH2 {
/** /**
* Returns a log of the packets that have been sent and received. * Returns a log of the packets that have been sent and received.
* *
* $type can be either NET_SFTP_LOG_SIMPLE or NET_SFTP_LOG_COMPLEX. Enable by defining NET_SSH2_LOGGING. * $type can be either NET_SFTP_LOG_SIMPLE or NET_SFTP_LOG_COMPLEX. Enable by defining NET_SFTP_LOGGING.
* *
* @param Integer $type * @param Integer $type
* @access public * @access public