summaryrefslogtreecommitdiff
path: root/sha256.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2015-01-15 17:09:32 +0100
committerBen Fuhrmannek2015-01-15 17:09:32 +0100
commit5335470004c0e97fd5f4d4a2d0371693cb26fccc (patch)
treeb058967648f7069b5f43a1c23a7c7b8f56460959 /sha256.c
parent68960966324f4701a1f402e97f17ca7870a317a4 (diff)
removed <5.4 compatibility code
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 d91e575..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 0 //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 }