Changeset 6ab5b84


Ignore:
Timestamp:
Feb 10, 2016 4:36:40 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
0717696
Parents:
981b708
Message:

Crypto: EdDSA precedence fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/eddsa/EdDSAEngine.java

    r981b708 r6ab5b84  
    427427    protected void engineSetParameter(AlgorithmParameterSpec spec) throws InvalidAlgorithmParameterException {
    428428        if (spec.equals(ONE_SHOT_MODE)) {
    429             if (oneShotBytes != null || baos != null && baos.size() > 0)
     429            if (oneShotBytes != null || (baos != null && baos.size() > 0))
    430430                throw new InvalidAlgorithmParameterException("update() already called");
    431431            oneShotMode = true;
Note: See TracChangeset for help on using the changeset viewer.