From a90471b937f2ef67ab4713604ef38d61ed7307c6 Mon Sep 17 00:00:00 2001 From: Jim Wigginton Date: Sun, 9 Aug 2009 03:53:28 +0000 Subject: [PATCH] - 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 --- phpseclib/Crypt/Rijndael.php | 4 ++-- phpseclib/Net/SFTP.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpseclib/Crypt/Rijndael.php b/phpseclib/Crypt/Rijndael.php index 2a36d62a..2ba84808 100644 --- a/phpseclib/Crypt/Rijndael.php +++ b/phpseclib/Crypt/Rijndael.php @@ -64,7 +64,7 @@ * @author Jim Wigginton * @copyright MMVIII Jim Wigginton * @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 */ @@ -358,7 +358,7 @@ class Crypt_Rijndael { * @return Crypt_Rijndael * @access public */ - function Crypt_Rijndael($mode = CRYPT_MODE_RIJNDAEL_CBC) + function Crypt_Rijndael($mode = CRYPT_RIJNDAEL_MODE_CBC) { switch ($mode) { case CRYPT_RIJNDAEL_MODE_ECB: diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index b3192aeb..1b3da631 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -48,7 +48,7 @@ * @author Jim Wigginton * @copyright MMIX Jim Wigginton * @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 */ @@ -1247,7 +1247,7 @@ class Net_SFTP extends Net_SSH2 { /** * 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 * @access public