summaryrefslogtreecommitdiff
path: root/ext/standard/md5.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-02-20 10:33:55 +0000
committerDerick Rethans <derick@php.net>2003-02-20 10:33:55 +0000
commit91766d4b9a5972eb0220adf8dd1c2037e383b4d9 (patch)
tree8962f1d513d6fbca2c784cfca8409b1927bcd29c /ext/standard/md5.c
parentb4b33b11ef09addd53e554c0f0df195cc5166bed (diff)
downloadphp-git-91766d4b9a5972eb0220adf8dd1c2037e383b4d9.tar.gz
- Fixed copy and paste bug
Diffstat (limited to 'ext/standard/md5.c')
-rw-r--r--ext/standard/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/md5.c b/ext/standard/md5.c
index 78f8c3141b..c833e09048 100644
--- a/ext/standard/md5.c
+++ b/ext/standard/md5.c
@@ -116,7 +116,7 @@ PHP_NAMED_FUNCTION(php_if_md5_file)
fclose(fp);
if (raw_output) {
- RETURN_STRINGL(digest, 20, 1);
+ RETURN_STRINGL(digest, 16, 1);
} else {
make_digest(md5str, digest);
RETVAL_STRING(md5str, 1);