diff options
Diffstat (limited to 'sha256.c')
| -rw-r--r-- | sha256.c | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -402,10 +402,8 @@ static zend_function_entry suhosin_sha256_functions[] = { | |||
| 402 | /* }}} */ | 402 | /* }}} */ |
| 403 | 403 | ||
| 404 | 404 | ||
| 405 | void suhosin_hook_sha256() | 405 | void suhosin_hook_sha256(TSRMLS_D) |
| 406 | { | 406 | { |
| 407 | TSRMLS_FETCH(); | ||
| 408 | |||
| 409 | /* check if we already have sha256 support */ | 407 | /* check if we already have sha256 support */ |
| 410 | if (zend_hash_exists(CG(function_table), "sha256", sizeof("sha256"))) { | 408 | if (zend_hash_exists(CG(function_table), "sha256", sizeof("sha256"))) { |
| 411 | return; | 409 | return; |
| @@ -417,10 +415,6 @@ void suhosin_hook_sha256() | |||
| 417 | #else | 415 | #else |
| 418 | zend_register_functions(NULL, suhosin_sha256_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | 416 | zend_register_functions(NULL, suhosin_sha256_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); |
| 419 | #endif | 417 | #endif |
| 420 | |||
| 421 | |||
| 422 | |||
| 423 | |||
| 424 | } | 418 | } |
| 425 | 419 | ||
| 426 | 420 | ||
