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:
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/macs/GMac.java')
-rw-r--r--src/main/java/org/bouncycastle/crypto/macs/GMac.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/bouncycastle/crypto/macs/GMac.java b/src/main/java/org/bouncycastle/crypto/macs/GMac.java
index ce29f8f7..8aae1e26 100644
--- a/src/main/java/org/bouncycastle/crypto/macs/GMac.java
+++ b/src/main/java/org/bouncycastle/crypto/macs/GMac.java
@@ -31,7 +31,9 @@ public class GMac implements Mac
*/
public GMac(final GCMBlockCipher cipher)
{
- this(cipher, 128);
+ // use of this confused flow analyser in some earlier JDKs
+ this.cipher = cipher;
+ this.macSizeBits = 128;
}
/**