diff --git a/mobile/android/base/sync/jpake/JPakeCrypto.java b/mobile/android/base/sync/jpake/JPakeCrypto.java index 025bfd21bbb..0c13af7c541 100644 --- a/mobile/android/base/sync/jpake/JPakeCrypto.java +++ b/mobile/android/base/sync/jpake/JPakeCrypto.java @@ -138,7 +138,7 @@ public class JPakeCrypto { Log.d(LOG_TAG, "round2 started."); - if (jp.gx4 == BigInteger.ONE) { + if (BigInteger.ONE.compareTo(jp.gx4) == 0) { throw new Gx4IsOneException(); }