diff options
author | Mark Wielaard <mark@klomp.org> | 2002-07-22 23:50:13 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2002-07-22 23:50:13 +0000 |
commit | f922660b6906f4dfd3ec093ed78b076492eaffb5 (patch) | |
tree | 98ad112a4758a6a5e82f4ce80be0cb8879490190 /libjava | |
parent | 31ee1b0e930ef50bf97adfa3179be32d86934f15 (diff) | |
download | gcc-f922660b6906f4dfd3ec093ed78b076492eaffb5.zip gcc-f922660b6906f4dfd3ec093ed78b076492eaffb5.tar.gz gcc-f922660b6906f4dfd3ec093ed78b076492eaffb5.tar.bz2 |
MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783).
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783).
From-SVN: r55661
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/gnu/java/security/provider/MD5.java | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 87c0374..aeb0491 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 9f7f601..9a789df 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 (); } |