summaryrefslogtreecommitdiff
path: root/sha256.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2015-01-19 12:47:46 +0100
committerBen Fuhrmannek2015-01-19 12:47:46 +0100
commit83e36387380a404d82b9eda77f0e8b30eb37c26e (patch)
tree65c2dc1d0f811fe6794b60d839e52e67b93dd649 /sha256.c
parent6e988482878b4841c215a3ec7ffe495ac8b0d131 (diff)
parent5335470004c0e97fd5f4d4a2d0371693cb26fccc (diff)
Merge branch 'min54'
Diffstat (limited to 'sha256.c')
-rw-r--r--sha256.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sha256.c b/sha256.c
index 275dccd..64ee25f 100644
--- a/sha256.c
+++ b/sha256.c
@@ -86,12 +86,6 @@ static PHP_FUNCTION(suhosin_sha256_file)
86 return; 86 return;
87 } 87 }
88 88
89#if PHP_VERSION_ID < 50400
90 if (PG(safe_mode) && (!php_checkuid(arg, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
91 RETURN_FALSE;
92 }
93#endif
94
95 if (php_check_open_basedir(arg TSRMLS_CC)) { 89 if (php_check_open_basedir(arg TSRMLS_CC)) {
96 RETURN_FALSE; 90 RETURN_FALSE;
97 } 91 }