mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
parent
f5414bcc19
commit
4f435a0fa0
2 changed files with 296 additions and 1 deletions
|
@ -195,7 +195,7 @@ public class PublicKeyParameterValidationUtil {
|
|||
}
|
||||
|
||||
// q > 160 bits
|
||||
boolean qLarge = pQ.getLowestSetBit() > 160;
|
||||
boolean qLarge = pQ.bitLength() > 160;
|
||||
if (!qLarge) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue