aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/MessageDigest.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/security/MessageDigest.java')
-rw-r--r--libjava/java/security/MessageDigest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/security/MessageDigest.java b/libjava/java/security/MessageDigest.java
index 006555d..be9dfd0 100644
--- a/libjava/java/security/MessageDigest.java
+++ b/libjava/java/security/MessageDigest.java
@@ -170,7 +170,7 @@ public abstract class MessageDigest extends MessageDigestSpi
*/
public void update(byte[]input, int offset, int len)
{
- engineUpdate(input, 0, input.length);
+ engineUpdate(input, offset, len);
}
/**