tony2001 Wed Jul 16 08:00:43 2008 UTC Modified files: /php-src/ext/mcrypt mcrypt.c Log: fix build http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.113&r2=1.114&diff_format=u Index: php-src/ext/mcrypt/mcrypt.c diff -u php-src/ext/mcrypt/mcrypt.c:1.113 php-src/ext/mcrypt/mcrypt.c:1.114 --- php-src/ext/mcrypt/mcrypt.c:1.113 Tue Jul 15 17:04:17 2008 +++ php-src/ext/mcrypt/mcrypt.c Wed Jul 16 08:00:43 2008 @@ -16,7 +16,7 @@ | Derick Rethans <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: mcrypt.c,v 1.113 2008/07/15 17:04:17 pajoye Exp $ */ +/* $Id: mcrypt.c,v 1.114 2008/07/16 08:00:43 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1232,7 +1232,7 @@ *iv_len = size; #else size_t read_bytes = 0; - int fd; + int fd, n; fd = open(source == PHP_MCRYPT_IV_SOURCE_RANDOM ? "/dev/random" : "/dev/urandom", O_RDONLY); if (fd < 0) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php