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 3a21fe37d5..3b1156d5bd 100644 --- a/ext/hash/hash_sha.c +++ b/ext/hash/hash_sha.c @@ -131,7 +131,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; } |
