diff --git a/lib/modules/SSL.pmod/Cipher.pmod b/lib/modules/SSL.pmod/Cipher.pmod index a47e0b1016d02ff50a5fd837b2f3b9efb23b2544..04768a1518f27a9ab5407a94e68c78b4f5e20337 100644 --- a/lib/modules/SSL.pmod/Cipher.pmod +++ b/lib/modules/SSL.pmod/Cipher.pmod @@ -897,6 +897,8 @@ class KeyExchangeECDH connection->ke = UNDEFINED; error("Invalid size in point format.\n"); } + // NB: No need to validate that the point is valid for the curve here. + // The check will be done when the point is used in point_mul(). [x, y] = map(rest/(sizeof(rest)/2), Gmp.mpz, 256); break; default: