commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1745150 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
Date Mon, 23 May 2016 11:41:56 GMT
Author: sebb
Date: Mon May 23 11:41:56 2016
New Revision: 1745150

URL: http://svn.apache.org/viewvc?rev=1745150&view=rev
Log:
Oops, recursive call

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java?rev=1745150&r1=1745149&r2=1745150&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/HmacUtils.java
Mon May 23 11:41:56 2016
@@ -175,7 +175,7 @@ public final class HmacUtils {
      *             when a {@link NoSuchAlgorithmException} is caught or key is null or key
is invalid.
      */
     public static Mac getInitializedMac(final HmacAlgorithms algorithm, final byte[] key)
{
-        return getInitializedMac(algorithm, key);
+        return getInitializedMac(algorithm.getName(), key);
     }
 
     /**



Mime
View raw message