Skip to content

Commit a00d469

Browse files
committed
no need to reset, it's done in doFinal
1 parent 4d915fd commit a00d469

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

client/src/main/java/org/asynchttpclient/oauth/OAuthSignatureCalculatorInstance.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ private byte[] digest(ConsumerKey consumerAuth, RequestToken userAuth, ByteBuffe
199199
SecretKeySpec signingKey = new SecretKeySpec(keyBytes, HMAC_SHA1_ALGORITHM);
200200

201201
mac.init(signingKey);
202-
mac.reset();
203202
mac.update(message);
204203
return mac.doFinal();
205204
}

0 commit comments

Comments
 (0)