зеркало из https://github.com/mozilla/gecko-dev.git
Bug 721129 - Incorrect BigInteger comparison in JPakeCrypto. r=dchan
This commit is contained in:
Родитель
078a588ee6
Коммит
204caa3e08
|
@ -138,7 +138,7 @@ public class JPakeCrypto {
|
||||||
|
|
||||||
Log.d(LOG_TAG, "round2 started.");
|
Log.d(LOG_TAG, "round2 started.");
|
||||||
|
|
||||||
if (jp.gx4 == BigInteger.ONE) {
|
if (BigInteger.ONE.compareTo(jp.gx4) == 0) {
|
||||||
throw new Gx4IsOneException();
|
throw new Gx4IsOneException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче