diff options
Diffstat (limited to 'ext/hash/hash_sha.c')
-rw-r--r-- | ext/hash/hash_sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hash/hash_sha.c b/ext/hash/hash_sha.c index 6f873f2185..3524c98f4c 100644 --- a/ext/hash/hash_sha.c +++ b/ext/hash/hash_sha.c @@ -132,7 +132,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; } |