summaryrefslogtreecommitdiff
path: root/ext/mcrypt/php_mcrypt.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-09-23 14:14:27 +0000
committerDerick Rethans <derick@php.net>2001-09-23 14:14:27 +0000
commit9c610ae87fa0efa9761ea1520607144beebc73a8 (patch)
treeb00b34d7d4c70cacfda0d68eed3f1af63ad2810a /ext/mcrypt/php_mcrypt.h
parent1b787166611c34fe51efb4a8cf54f52e3d15b1fa (diff)
downloadphp-git-9c610ae87fa0efa9761ea1520607144beebc73a8.tar.gz
- Added mcrypt_generic_deinit and added a warning about mcrypt_generic_end
being deprecated. - Reordened constants, and added MCRYPT_3DES to the 2.4 set of constants
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
-rw-r--r--ext/mcrypt/php_mcrypt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mcrypt/php_mcrypt.h b/ext/mcrypt/php_mcrypt.h
index 02e147c0eb..1849343864 100644
--- a/ext/mcrypt/php_mcrypt.h
+++ b/ext/mcrypt/php_mcrypt.h
@@ -41,6 +41,9 @@ PHP_FUNCTION(mcrypt_generic_init);
PHP_FUNCTION(mcrypt_generic);
PHP_FUNCTION(mdecrypt_generic);
PHP_FUNCTION(mcrypt_generic_end);
+#if HAVE_MCRYPT_GENERIC_DEINIT
+PHP_FUNCTION(mcrypt_generic_deinit);
+#endif
PHP_FUNCTION(mcrypt_enc_self_test);
PHP_FUNCTION(mcrypt_enc_is_block_algorithm_mode);
PHP_FUNCTION(mcrypt_enc_is_block_algorithm);