Bug 721129 - Incorrect BigInteger comparison in JPakeCrypto. r=dchan

This commit is contained in:
Richard Newman 2012-01-25 15:53:13 -08:00
Родитель 078a588ee6
Коммит 204caa3e08
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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();
} }