AVATAR_JS-87, update fix, group must be checked (found running tests), automatic fix, no review

This commit is contained in:
Jean-Francois 2013-11-22 14:39:53 +01:00
parent 5813a6dc0c
commit 010ef0353c

View File

@ -216,12 +216,6 @@ public final class DiffieHellman {
return;
}
}
// is it a group?
for(BigInteger bi : WELL_KNOWN_GROUPS.values()) {
if (bi.equals(prime)) {
return;
}
}
checkSafePrimeForGenerator2(prime);
}