[PHP4BETA] CVS update: php4/ext/mcrypt
| From: | sas | Date: | Sun, 25 Apr 1999 21:13:21 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/mcrypt | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-527@lists.php.net to get a copy of this message | ||
Date: Sunday April 25, 1999 @ 17:13
Author: sas
Update of /repository/php4/ext/mcrypt
In directory php:/tmp/cvs-serv1583
Modified Files:
mcrypt.c
Log Message:
that was a silly one
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.6 php4/ext/mcrypt/mcrypt.c:1.7
--- php4/ext/mcrypt/mcrypt.c:1.6 Sun Apr 25 17:11:29 1999
+++ php4/ext/mcrypt/mcrypt.c Sun Apr 25 17:13:21 1999
@@ -202,12 +202,12 @@
convert_to_string(key);
convert_to_string(iv);
+ bsize = get_block_size(cipher->value.lval);
if(iv->value.str.len != bsize) {
php3_error(E_WARNING, MCRYPT_IV_WRONG_SIZE);
RETURN_FALSE;
}
- bsize = get_block_size(cipher->value.lval);
nr = (data->value.str.len + bsize - 1) / bsize;
nsize = nr * bsize;
@@ -251,12 +251,12 @@
convert_to_string(key);
convert_to_string(iv);
+ bsize = get_block_size(cipher->value.lval);
if(iv->value.str.len != bsize) {
php3_error(E_WARNING, MCRYPT_IV_WRONG_SIZE);
RETURN_FALSE;
}
- bsize = get_block_size(cipher->value.lval);
nr = (data->value.str.len + bsize - 1) / bsize;
nsize = nr * bsize;
--
PHP 4 Beta