cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c
| From: | Sterling Hughes | Date: | Thu, 13 Dec 2001 16:23:59 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/mcrypt mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8603@lists.php.net to get a copy of this message | ||
sterling Thu Dec 13 11:23:59 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/mcrypt mcrypt.c
Log:
Fix mcrypt compile on systems that don't have mcrypt
Index: php4/ext/mcrypt/mcrypt.c
diff -u php4/ext/mcrypt/mcrypt.c:1.57.2.4 php4/ext/mcrypt/mcrypt.c:1.57.2.5
--- php4/ext/mcrypt/mcrypt.c:1.57.2.4 Thu Oct 11 19:51:41 2001
+++ php4/ext/mcrypt/mcrypt.c Thu Dec 13 11:23:59 2001
@@ -250,8 +250,10 @@
static void php_mcrypt_module_dtor(zend_rsrc_list_entry *rsrc)
{
+#if HAVE_LIBMCRYPT24
MCRYPT td = (MCRYPT) rsrc->ptr;
mcrypt_module_close (td);
+#endif
}