-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11, 17
-
Component/s: security-libs
-
b06
In class sun.security.ec.ECDHKeyAgreement.java, the last mod() in the below line looks redundant,
BigInteger lhs = y.modPow(BigInteger.valueOf(2), p).mod(p);
BigInteger lhs = y.modPow(BigInteger.valueOf(2), p).mod(p);