com php-src: Remove deprecated mcrypt_generic_end() a lias: NEWS UPGRADING ext/mcrypt/mcrypt.c
| From: | Nikita Popov | Date: | Mon, 09 Mar 2015 10:10:52 +0000 |
| Subject: | com php-src: Remove deprecated mcrypt_generic_end() a lias: NEWS UPGRADING ext/mcrypt/mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85399@lists.php.net to get a copy of this message | ||
Commit: c488a4570197240af8e05eaab95c0b308c2246d8
Author: Nikita Popov <nikic@php.net> Mon, 9 Mar 2015 11:10:52 +0100
Parents: a81e65a5018a04379914c605f7a9c69ac8941600
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c488a4570197240af8e05eaab95c0b308c2246d8
Log:
Remove deprecated mcrypt_generic_end() alias
Changed paths:
M NEWS
M UPGRADING
M ext/mcrypt/mcrypt..c
Diff:
diff --git a/NEWS b/NEWS
index 3cf7c96..9a69062 100644
--- a/NEWS
+++ b/NEWS
@@ -103,6 +103,7 @@
- Mcrypt:
. Fixed possible read after end of buffer and use after free. (Dmitry)
+ . Removed mcrypt_generic_end() alias. (Nikita)
- Opcache:
. Fixed bug with try blocks being removed when extended_info opcode
diff --git a/UPGRADING b/UPGRADING
index 3291e0c..1312a1b 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -361,6 +361,10 @@ Other
. gmp_setbit() and gmp_clrbit() now return FALSE for negative indices, making
them consistent with other GMP functions.
+- Mcrypt
+ . Removed deprecate mcrypt_generic_end() alias in favor of
+ mcrypt_generic_deinit().
+
- Session
. session_start() accepts all INI settings as array. e.g.
['cache_limiter'=>'private']
sets session.cache_limiter=private. It also supports 'read_and_close' which closes
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 055ac6e..83184f9 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -258,7 +258,6 @@ const zend_function_entry mcrypt_functions[] = { /* {{{ */
PHP_FE(mcrypt_generic_init, arginfo_mcrypt_generic_init)
PHP_FE(mcrypt_generic, arginfo_mcrypt_generic)
PHP_FE(mdecrypt_generic, arginfo_mdecrypt_generic)
- PHP_DEP_FALIAS(mcrypt_generic_end, mcrypt_generic_deinit, arginfo_mcrypt_generic_deinit)
PHP_FE(mcrypt_generic_deinit, arginfo_mcrypt_generic_deinit)
PHP_FE(mcrypt_enc_self_test, arginfo_mcrypt_enc_self_test)