summaryrefslogtreecommitdiff
path: root/ext/hash/hash_md.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hash/hash_md.c')
-rw-r--r--ext/hash/hash_md.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/hash_md.c b/ext/hash/hash_md.c
index ddef755cb4..f637e3f179 100644
--- a/ext/hash/hash_md.c
+++ b/ext/hash/hash_md.c
@@ -111,11 +111,11 @@ PHP_NAMED_FUNCTION(php_if_md5)
char md5str[33];
PHP_MD5_CTX context;
unsigned char digest[16];
-
+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &arg, &arg_len, &raw_output) == FAILURE) {
return;
}
-
+
md5str[0] = '\0';
PHP_MD5Init(&context);
PHP_MD5Update(&context, arg, arg_len);
@@ -147,7 +147,7 @@ PHP_NAMED_FUNCTION(php_if_md5_file)
if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|b", &arg, &arg_len, &raw_output) == FAILURE) {
return;
}
-
+
stream = php_stream_open_wrapper(arg, "rb", REPORT_ERRORS, NULL);
if (!stream) {
RETURN_FALSE;