Richard Levitte a39aa18644 Better check of DH parameters in TLS data
When the client reads DH parameters from the TLS stream, we only
checked that they all are non-zero.  This change updates the check to
use DH_check_params()

DH_check_params() is a new function for light weight checking of the p
and g parameters:

    check that p is odd
    check that 1 < g < p - 1

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2017-01-26 10:54:36 +00:00
..
2016-07-29 14:09:57 +01:00
2016-06-29 09:56:39 -04:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-05-17 14:19:19 -04:00
2016-08-18 14:02:29 +02:00
2016-08-24 14:05:52 +01:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-11-16 10:34:41 +00:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-09-07 16:09:01 -04:00
2016-08-18 14:02:29 +02:00
2016-05-17 14:19:19 -04:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-08-18 14:02:29 +02:00
2016-09-08 12:36:46 +01:00
2016-08-18 14:02:29 +02:00