diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 11:32:33 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 13:18:43 -0500 |
commit | 7d53864574e22a3f72fcee7eb902248fb25f85df (patch) | |
tree | 19e9f8a5a99ae125ccd94124d32712ddb9c5eddb /ext/mcrypt | |
parent | 771e5cc24716304dd2bf8cbd8aec11d465965d0a (diff) | |
download | php-git-7d53864574e22a3f72fcee7eb902248fb25f85df.tar.gz |
E_RECOVERABLE_ERROR -> thrown Error
Diffstat (limited to 'ext/mcrypt')
-rw-r--r-- | ext/mcrypt/mcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 073bfec775..b49a3ba356 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -1283,7 +1283,7 @@ static void php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, c } if (mcrypt_generic_init(td, (void *) key, (int)key_len, (void *) iv) < 0) { - php_error_docref(NULL, E_RECOVERABLE_ERROR, "Mcrypt initialisation failed"); + zend_throw_error(NULL, "Mcrypt initialisation failed"); mcrypt_module_close(td); RETURN_FALSE; } |