diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-18 22:40:35 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-18 22:40:35 +0000 |
| commit | a1ad2872eebc17448b115a1817e95b63e3ad17e9 (patch) | |
| tree | 6088dc4e590fdc5f85baa8bfe6534aece3fba960 /ext/mcrypt/mcrypt.c | |
| parent | f1fcb022be33716d345197de1fde63ad2bcdafca (diff) | |
| download | php-git-a1ad2872eebc17448b115a1817e95b63e3ad17e9.tar.gz | |
- The tree compiles again
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
| -rw-r--r-- | ext/mcrypt/mcrypt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index a5a714167e..082b20e6de 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -182,7 +182,7 @@ PHP_FUNCTION(mcrypt_create_iv) int i; int n = 0; - if(ARG_COUNT(ht) != 2 || getParametersEx(2, &size, &psource) == FAILURE) { + if(ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &size, &psource) == FAILURE) { WRONG_PARAM_COUNT; } @@ -227,7 +227,7 @@ PHP_FUNCTION(mcrypt_get_cipher_name) pval **cipher; char *str, *nstr; - if(ARG_COUNT(ht) != 1 || getParametersEx(1, &cipher) == FAILURE) { + if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &cipher) == FAILURE) { WRONG_PARAM_COUNT; } @@ -249,7 +249,7 @@ PHP_FUNCTION(mcrypt_get_key_size) { pval **cipher; - if(ARG_COUNT(ht) != 1 || getParametersEx(1, &cipher) == FAILURE) { + if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &cipher) == FAILURE) { WRONG_PARAM_COUNT; } @@ -264,7 +264,7 @@ PHP_FUNCTION(mcrypt_get_block_size) { pval **cipher; - if(ARG_COUNT(ht) != 1 || getParametersEx(1, &cipher) == FAILURE) { + if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &cipher) == FAILURE) { WRONG_PARAM_COUNT; } @@ -280,7 +280,7 @@ PHP_FUNCTION(mcrypt_ofb) MCRYPT_ARGS; if(ARG_COUNT(ht) != 5 || - getParametersEx(5, &cipher, &key, &data, &mode, &iv) == FAILURE) { + zend_get_parameters_ex(5, &cipher, &key, &data, &mode, &iv) == FAILURE) { WRONG_PARAM_COUNT; } MCRYPT_CONVERT; @@ -301,7 +301,7 @@ PHP_FUNCTION(mcrypt_cfb) MCRYPT_ARGS; if(ARG_COUNT(ht) != 5 || - getParametersEx(5, &cipher, &key, &data, &mode, &iv) == FAILURE) { + zend_get_parameters_ex(5, &cipher, &key, &data, &mode, &iv) == FAILURE) { WRONG_PARAM_COUNT; } MCRYPT_CONVERT; @@ -324,7 +324,7 @@ PHP_FUNCTION(mcrypt_cbc) int ac = ARG_COUNT(ht); if(ac < 4 || ac > 5 || - getParametersEx(ac, &cipher, &key, &data, &mode, &iv) == FAILURE) { + zend_get_parameters_ex(ac, &cipher, &key, &data, &mode, &iv) == FAILURE) { WRONG_PARAM_COUNT; } MCRYPT_CONVERT; @@ -352,7 +352,7 @@ PHP_FUNCTION(mcrypt_ecb) MCRYPT_ARGS2; if(ARG_COUNT(ht) != 4 || - getParametersEx(4, &cipher, &key, &data, &mode) == FAILURE) { + zend_get_parameters_ex(4, &cipher, &key, &data, &mode) == FAILURE) { WRONG_PARAM_COUNT; } MCRYPT_CONVERT; |
