CVS update: php3/functions

From: Date: Sat, 01 May 1999 14:30:12 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5316@lists.php.net to get a copy of this message
Date: Saturday May 1, 1999 @ 10:30 Author: sas Update of /repository/php3/functions In directory php:/tmp/cvs-serv17499/functions Modified Files: mcrypt.c Log Message: remove silly limit (which was wrong) Index: php3/functions/mcrypt.c diff -u php3/functions/mcrypt.c:1.4 php3/functions/mcrypt.c:1.5 --- php3/functions/mcrypt.c:1.4 Sat May 1 08:28:38 1999 +++ php3/functions/mcrypt.c Sat May 1 10:30:12 1999 @@ -322,15 +322,14 @@ } MCRYPT_CONVERT; MCRYPT_SIZE; - if(ac > 4 && mode == 0) { + if(ac > 4) { MCRYPT_CHECK_IV; } td = init_mcrypt_cbc(cipher->value.lval, key->value.str.val, key->value.str.len); MCRYPT_CHECK_TD_CPY; - /* iv may be only used in encryption */ - if(ac > 4 && mode == 0) { + if(ac > 4) { mcrypt(td, iv->value.str.val); } -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5316) next »