cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c
| From: | Derick Rethans | Date: | Sun, 16 Dec 2001 19:06:21 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8675@lists.php.net to get a copy of this message | ||
derick Sun Dec 16 14:06:21 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/mcrypt mcrypt.c
Log:
Make this compile again
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.57.2.8 php4/ext/mcrypt/mcrypt.c:1.57.2.9
--- php4/ext/mcrypt/mcrypt.c:1.57.2.8 Sat Dec 15 08:19:37 2001
+++ php4/ext/mcrypt/mcrypt.c Sun Dec 16 14:06:20 2001
@@ -460,11 +460,11 @@
int max_key_size, key_size, iv_size;
MCRYPT td;
int argc;
+ int result = 0;
argc = ZEND_NUM_ARGS();
MCRYPT_CHECK_PARAM_COUNT (3,3)
- int result = 0;
zend_get_parameters_ex(3, &mcryptind, &key, &iv);
ZEND_FETCH_RESOURCE (td, MCRYPT, mcryptind, -1, "MCrypt", le_mcrypt);
convert_to_string_ex (key);