You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2009/02/26 13:51:02 UTC
[jira] Closed: (WSS-157) Remove spurious calls to
MessageDigest.reset()
[ https://issues.apache.org/jira/browse/WSS-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed WSS-157.
-----------------------------------
> Remove spurious calls to MessageDigest.reset()
> ----------------------------------------------
>
> Key: WSS-157
> URL: https://issues.apache.org/jira/browse/WSS-157
> Project: WSS4J
> Issue Type: Improvement
> Components: WSS4J Core
> Affects Versions: 1.5.5
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 1.5.6
>
>
> There are two instances of spurious calls to MessageDigest.reset() in the codebase:
> CryptoBase:418
> UsernameToken:676
> As MessageDigest.digest() resets the object state, it's not necessary to call reset() in both these places. This is a fairly trivial change, but both calls to reset are in loops.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org