From e439bbb2b41c1d18af51f1d86a9ccd5eda766a4c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 16 Jul 2008 08:00:43 +0000 Subject: [PATCH] fix build --- ext/mcrypt/mcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 596ebad6b2..c317607bc4 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -1232,7 +1232,7 @@ int php_mcrypt_iv(php_mcrypt_iv_source source, int size, char **iv_str, int *iv_ *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) { -- 2.50.1