summaryrefslogtreecommitdiff
path: root/ext/standard/sha1.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2006-02-19 04:29:42 +0000
committerAndi Gutmans <andi@php.net>2006-02-19 04:29:42 +0000
commit1efe984d08ccab1d06f062ca157e3bdb2cb7cd57 (patch)
treef12f77325e51b257cb0a8f039ed7568e4ed0fb34 /ext/standard/sha1.c
parent8f126f33ac87e3bf1432b2a94f27e5f8f47cde9f (diff)
downloadphp-git-1efe984d08ccab1d06f062ca157e3bdb2cb7cd57.tar.gz
- Get rid of using ENFORCE_SAFE_MODE.
Diffstat (limited to 'ext/standard/sha1.c')
-rw-r--r--ext/standard/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/sha1.c b/ext/standard/sha1.c
index 85c85284a2..75295b5c8c 100644
--- a/ext/standard/sha1.c
+++ b/ext/standard/sha1.c
@@ -85,7 +85,7 @@ PHP_FUNCTION(sha1_file)
return;
}
- stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS | ENFORCE_SAFE_MODE, NULL);
+ stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL);
if (!stream) {
RETURN_FALSE;
}