Skip to content

Commit 22f6103

Browse files
committed
improved variable name.
1 parent 7648593 commit 22f6103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/bouncycastle/crypto/params/RSAKeyParameters.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ private BigInteger validate(BigInteger modulus, boolean isInternal)
7676

7777
int maxBitLength = Properties.asInteger("org.bouncycastle.rsa.max_size", 15360);
7878

79-
int qBitLength = modulus.bitLength();
80-
if (maxBitLength < qBitLength)
79+
int modBitLength = modulus.bitLength();
80+
if (maxBitLength < modBitLength)
8181
{
8282
throw new IllegalArgumentException("modulus value out of range");
8383
}

0 commit comments

Comments
 (0)