TLS client: Make DH parameter parsing easier for static analyzers
authorJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 16:04:00 +0000 (19:04 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 16:04:00 +0000 (19:04 +0300)
commite7b96ecdb3cd132152123411afabf4e8970df154
treea7fc7f834d7f3d9580e237b82c29a32cdabf3a47
parent92b5b371b6704a7cb05466c98f75658a28f4c4c9
TLS client: Make DH parameter parsing easier for static analyzers

The dh_p_len, dh_g_len, and dh_ys_len parameters were validated against
the received message structure, but that did not seem to be done in a
way that some static analyzers would understand this (CID 72699).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/tls/tlsv1_client_read.c