Skip to content

Commit 3ea4d5d

Browse files
committed
Oops, recursive call
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1745150 13f79535-47bb-0310-9956-ffa450edef68
1 parent 861646b commit 3ea4d5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/codec/digest/HmacUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public static Mac getHmacSha512(final byte[] key) {
175175
* when a {@link NoSuchAlgorithmException} is caught or key is null or key is invalid.
176176
*/
177177
public static Mac getInitializedMac(final HmacAlgorithms algorithm, final byte[] key) {
178-
return getInitializedMac(algorithm, key);
178+
return getInitializedMac(algorithm.getName(), key);
179179
}
180180

181181
/**

0 commit comments

Comments
 (0)