Split out CKE construction PSK pre-amble and RSA into a separate function
authorMatt Caswell <matt@openssl.org>
Thu, 7 Jul 2016 13:42:27 +0000 (14:42 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 18 Jul 2016 22:05:14 +0000 (23:05 +0100)
commit13c0ec4ad441cee62c5671caa9fe1168cb7f951b
tree508e0381ee0856a7aafcc0ff3e950b1bb2d2e2dd
parent0bce0b02d8a24890e5ceee54c95504e66eb19856
Split out CKE construction PSK pre-amble and RSA into a separate function

The tls_construct_client_key_exchange() function is too long. This splits
out the construction of the PSK pre-amble into a separate function as well
as the RSA construction.

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