diff options
Diffstat (limited to 'src/main/java/org/bouncycastle/crypto/macs/GMac.java')
-rw-r--r-- | src/main/java/org/bouncycastle/crypto/macs/GMac.java | 4 |
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; } /** |