Split out the PSK preamble from tls_process_key_exchange()
authorMatt Caswell <matt@openssl.org>
Fri, 8 Jul 2016 11:44:53 +0000 (12:44 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Jul 2016 11:18:46 +0000 (12:18 +0100)
commit7dc1c64774d712629388f89373a494f992f441dd
tree68596b6bafbf470048e2f3188de78e27f7882b84
parent02a74590bb9e22d0f4131e8bd6b391402f7d3752
Split out the PSK preamble from tls_process_key_exchange()

The tls_process_key_exchange() function is too long. This commit starts
the process of splitting it up by moving the PSK preamble code to a
separate function.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_clnt.c