Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbda5ceb authored by Urs Grob's avatar Urs Grob
Browse files

Removing MD2

parent dfca0ee8
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import junit.framework.TestCase;
import org.apache.harmony.xnet.provider.jsse.OpenSSLMessageDigest;
import org.bouncycastle.crypto.Digest;
import org.bouncycastle.crypto.ExtendedDigest;
import org.bouncycastle.crypto.digests.MD2Digest;
import org.bouncycastle.crypto.digests.MD4Digest;
import org.bouncycastle.crypto.digests.MD5Digest;
import org.bouncycastle.crypto.digests.SHA1Digest;
@@ -94,16 +93,6 @@ public class CryptoTest extends TestCase {
        // Assert.assertTrue("New hash should be faster", newTime < oldTime);
    }
    
    /**
     * Tests the MD2 implementation.
     */
    @LargeTest
    public void testMD2() {
        Digest oldDigest = new MD2Digest();
        Digest newDigest = OpenSSLMessageDigest.getInstance("MD2");
        doTestMessageDigest(oldDigest, newDigest);
    }
    
    /**
     * Tests the MD4 implementation.
     */