cvs: php-src /ext/mcrypt mcrypt.c

From: Date: Wed, 16 Jul 2008 08:00:43 +0000
Subject: cvs: php-src /ext/mcrypt mcrypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51150@lists.php.net to get a copy of this message
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 <derick@derickrethans.nl> | +----------------------------------------------------------------------+ */ -/* $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) {

« previous php.cvs (#51150) next »