Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-07-21 11:35:37 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-07-21 11:35:37 +0400
commit11d8fde12ea45f7debcd6fc5a448140b83a4c19a (patch)
tree48ed8a9b4124e9a58d3a34f8cf5371821d57efa0 /core/src/main/java/org/bouncycastle/crypto/signers
parente1218a07630c85a39586c285801af9a65f81411b (diff)
compatibility updates
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/signers')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/signers/DSTU4145Signer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/signers/DSTU4145Signer.java b/core/src/main/java/org/bouncycastle/crypto/signers/DSTU4145Signer.java
index d0b893a6..bceb8220 100644
--- a/core/src/main/java/org/bouncycastle/crypto/signers/DSTU4145Signer.java
+++ b/core/src/main/java/org/bouncycastle/crypto/signers/DSTU4145Signer.java
@@ -163,7 +163,7 @@ public class DSTU4145Signer
{
if (x.bitLength() > bitLength)
{
- x = x.mod(BigInteger.ONE.shiftLeft(bitLength));
+ x = x.mod(ONE.shiftLeft(bitLength));
}
return x;
}