You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2020/09/26 21:07:41 UTC

[maven-resolver] branch digest-fix created (now a9e0ca8)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch digest-fix
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git.


      at a9e0ca8  Keep SimpleDigest simple

This branch includes the following new commits:

     new a9e0ca8  Keep SimpleDigest simple

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-resolver] 01/01: Keep SimpleDigest simple

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch digest-fix
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git

commit a9e0ca8307e532fc30591a47d7d96e27fa647465
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Sep 26 23:07:27 2020 +0200

    Keep SimpleDigest simple
---
 .../src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java
index 83825f1..daf56fc 100644
--- a/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java
+++ b/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/SimpleDigest.java
@@ -30,7 +30,7 @@ import java.security.NoSuchAlgorithmException;
 class SimpleDigest
 {
 
-    private static final String[] HASH_ALGOS = new String[] { "SHA-512", "SHA-256", "SHA-1", "MD5" };
+    private static final String[] HASH_ALGOS = new String[] { "SHA-1", "MD5" };
 
     private MessageDigest digest;