cvs: php4 /pear/Crypt CBC.php

From: Date: Fri, 02 Feb 2001 21:52:21 +0000
Subject: cvs: php4 /pear/Crypt CBC.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3884@lists.php.net to get a copy of this message
cmv Fri Feb 2 13:52:21 2001 EDT Modified files: /php4/pear/Crypt CBC.php Log: typo Index: php4/pear/Crypt/CBC.php diff -u php4/pear/Crypt/CBC.php:1.4 php4/pear/Crypt/CBC.php:1.5 --- php4/pear/Crypt/CBC.php:1.4 Tue Jan 23 13:36:12 2001 +++ php4/pear/Crypt/CBC.php Fri Feb 2 13:52:21 2001 @@ -36,7 +36,7 @@ * the author of libcrypt decides to name things internally. * * -* @version $Id: CBC.php,v 1.4 2001/01/23 21:36:12 cmv Exp $ +* @version $Id: CBC.php,v 1.5 2001/02/02 21:52:21 cmv Exp $ * @author Colin Viebrock <colin@easydns.com> * @author Mike Glover <mpg4@duluoz.net> * @@ -125,7 +125,7 @@ /* initialize cipher */ - if (USING_24x) { + if (CRYPT_CBC_USING_24x) { $this->blocksize = mcrypt_get_block_size($this->cipher,'cbc'); $this->keysize = mcrypt_get_key_size($this->cipher,'cbc'); $this->TD = mcrypt_module_open ($this->cipher, '', 'ecb', ''); @@ -185,7 +185,7 @@ $start = 0; while ( $block = substr($clear, $start, $this->blocksize) ) { $start += $this->blocksize; - if (USING_24x) { + if (CRYPT_CBC_USING_24x) { mcrypt_generic_init($this->TD, $this->key, $iv); $cblock = mcrypt_generic($this->TD, $iv^$block ); } else { @@ -233,7 +233,7 @@ while ( $cblock = substr($crypt, $start, $this->blocksize) ) { $start += $this->blocksize; - if (USING_24x) { + if (CRYPT_CBC_USING_24x) { mcrypt_generic_init($this->TD, $this->key, $iv); $block = $iv ^ mdecrypt_generic($this->TD, $cblock); } else {

« previous php.cvs (#3884) next »