summaryrefslogtreecommitdiff
path: root/ext/mcrypt/mcrypt.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
commit6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 (patch)
treeb2660d658d42d90c170552b76c11815afd03aed3 /ext/mcrypt/mcrypt.c
parent0ddd124d1d58f5f1094c8287e0f3905e6ab45d40 (diff)
downloadphp-git-6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5.tar.gz
2nd phase in back-substitution those macro's
I've got pretty much everything now...
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
-rw-r--r--ext/mcrypt/mcrypt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 4dbc3e961a..153f630f33 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -824,7 +824,7 @@ PHP_FUNCTION(mcrypt_module_self_test)
MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir);
- if (mcrypt_module_self_test ((*arg1)->value.str.val, lib_dir_s) == 0) {
+ if (mcrypt_module_self_test (Z_STRVAL_PP(arg1), lib_dir_s) == 0) {
RETURN_TRUE;
}
else {
@@ -846,7 +846,7 @@ PHP_FUNCTION(mcrypt_module_is_block_algorithm_mode)
MCRYPT_GET_MODE_DIR_ARGS(modes_dir)
- if (mcrypt_module_is_block_algorithm_mode ((*arg1)->value.str.val, lib_dir_s) == 0) {
+ if (mcrypt_module_is_block_algorithm_mode (Z_STRVAL_PP(arg1), lib_dir_s) == 0) {
RETURN_TRUE;
}
else {
@@ -868,7 +868,7 @@ PHP_FUNCTION(mcrypt_module_is_block_algorithm)
MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
- if (mcrypt_module_is_block_algorithm ((*arg1)->value.str.val, lib_dir_s) == 0) {
+ if (mcrypt_module_is_block_algorithm (Z_STRVAL_PP(arg1), lib_dir_s) == 0) {
RETURN_TRUE;
}
else {
@@ -890,7 +890,7 @@ PHP_FUNCTION(mcrypt_module_is_block_mode)
MCRYPT_GET_MODE_DIR_ARGS(modes_dir)
- if (mcrypt_module_is_block_mode ((*arg1)->value.str.val, lib_dir_s) == 0) {
+ if (mcrypt_module_is_block_mode (Z_STRVAL_PP(arg1), lib_dir_s) == 0) {
RETURN_TRUE;
}
else {
@@ -912,7 +912,7 @@ PHP_FUNCTION(mcrypt_module_get_algo_block_size)
MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
- RETURN_LONG(mcrypt_module_get_algo_block_size ((*arg1)->value.str.val, lib_dir_s))
+ RETURN_LONG(mcrypt_module_get_algo_block_size (Z_STRVAL_PP(arg1), lib_dir_s))
}
/* }}} */
@@ -929,7 +929,7 @@ PHP_FUNCTION(mcrypt_module_get_algo_key_size)
MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir);
- RETURN_LONG(mcrypt_module_get_algo_key_size ((*arg1)->value.str.val, lib_dir_s))
+ RETURN_LONG(mcrypt_module_get_algo_key_size (Z_STRVAL_PP(arg1), lib_dir_s))
}
/* }}} */
@@ -947,7 +947,7 @@ PHP_FUNCTION(mcrypt_module_get_supported_key_sizes)
MCRYPT_GET_MODE_DIR_ARGS(algorithms_dir)
- key_sizes = mcrypt_module_get_algo_supported_key_sizes ((*arg1)->value.str.val, lib_dir_s, &count);
+ key_sizes = mcrypt_module_get_algo_supported_key_sizes (Z_STRVAL_PP(arg1), lib_dir_s, &count);
if (array_init(return_value) == FAILURE) {
php_error(E_ERROR, "Unable to initialize array");