aboutsummaryrefslogtreecommitdiff
path: root/libiberty/md5.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-09-23 20:01:11 +0000
committerDJ Delorie <dj@redhat.com>2011-09-23 20:01:11 +0000
commit634e4f4ff80a302d103a4516b6921039d7af7688 (patch)
tree2cdb82fadd9503ff7e8b0654cfe4fefa685c73a9 /libiberty/md5.c
parentdc87f6201460bb5564a94d3c84beb4ab87a9962d (diff)
downloadgdb-634e4f4ff80a302d103a4516b6921039d7af7688.zip
gdb-634e4f4ff80a302d103a4516b6921039d7af7688.tar.gz
gdb-634e4f4ff80a302d103a4516b6921039d7af7688.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/md5.c')
-rw-r--r--libiberty/md5.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libiberty/md5.c b/libiberty/md5.c
index 11920e1..0db8fc8 100644
--- a/libiberty/md5.c
+++ b/libiberty/md5.c
@@ -1,6 +1,6 @@
/* md5.c - Functions to compute MD5 message digest of files or memory blocks
according to the definition of MD5 in RFC 1321 from April 1992.
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 2011 Free Software Foundation, Inc.
NOTE: This source is derived from an old version taken from the GNU C
Library (glibc).
@@ -245,9 +245,11 @@ md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx)
}
else
#endif
- md5_process_block (buffer, len & ~63, ctx);
- buffer = (const void *) ((const char *) buffer + (len & ~63));
- len &= 63;
+ {
+ md5_process_block (buffer, len & ~63, ctx);
+ buffer = (const void *) ((const char *) buffer + (len & ~63));
+ len &= 63;
+ }
}
/* Move remaining bytes in internal buffer. */