aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 23:50:13 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 23:50:13 +0000
commitc08f585df2ed15df61e350ea09a1582f13b37406 (patch)
tree98ad112a4758a6a5e82f4ce80be0cb8879490190 /libjava
parent2382cb9a0a07d28c26af98db2b442b9b58014ff8 (diff)
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55661 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/gnu/java/security/provider/MD5.java8
2 files changed, 9 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 87c0374da89..aeb049138ae 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-23 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
+ MessageDigestSpi (fixes Classpath bug #783).
+
2002-07-21 Mark Wielaard <mark@klomp.org>
* gnu/java/security/provider/Gnu.java: Reference all implementation
diff --git a/libjava/gnu/java/security/provider/MD5.java b/libjava/gnu/java/security/provider/MD5.java
index 9f7f601611e..9a789dfa2e2 100644
--- a/libjava/gnu/java/security/provider/MD5.java
+++ b/libjava/gnu/java/security/provider/MD5.java
@@ -1,5 +1,5 @@
/* MD5.java -- Class implementing the MD5 algorithm as specified in RFC1321.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -37,14 +37,14 @@ exception statement from your version. */
package gnu.java.security.provider;
-import java.security.MessageDigestSpi;
+import java.security.MessageDigest;
/**
This class implements the MD5 algorithm as described in RFC1321.
@see java.security.MessageDigest
*/
-public class MD5 extends MessageDigestSpi implements Cloneable
+public class MD5 extends MessageDigest implements Cloneable
{
private final int W[] = new int[16];
private long bytecount;
@@ -55,7 +55,7 @@ public class MD5 extends MessageDigestSpi implements Cloneable
public MD5()
{
- super();
+ super("MD5");
engineReset ();
}