Fix wrong BigInteger size
This commit is contained in:
parent
bdd89efacc
commit
d9928e79dd
|
@ -161,9 +161,9 @@ public class TLArg {
|
|||
public int bigIntSize() {
|
||||
switch (types.get(types.size() - 1)) {
|
||||
case "int128":
|
||||
return 32;
|
||||
return 16;
|
||||
case "int256":
|
||||
return 64;
|
||||
return 32;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,6 @@ public class Authenticator {
|
|||
throw new SecurityException("Step 2 could not find a known RSA key");
|
||||
}
|
||||
|
||||
// TODO This *sometimes* fails, huh
|
||||
final Abstract.ServerDHParams abstractDhParams = sender.send(
|
||||
new Functions.ReqDHParams()
|
||||
.nonce(resPq.nonce())
|
||||
|
|
Loading…
Reference in New Issue