Reduce the scope of some variables in tls_process_client_key_exchange()
authorMatt Caswell <matt@openssl.org>
Wed, 6 Jul 2016 08:24:33 +0000 (09:24 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 18 Jul 2016 21:55:07 +0000 (22:55 +0100)
commitbb5592dd7b4c00581731091a84f4652687fe43a6
treed46481488ae9a33ff844b08b791625988475ec48
parent1e3d16b0a62a9523b44cfcd65abc5998949ed9ab
Reduce the scope of some variables in tls_process_client_key_exchange()

In preparation for splitting this function up into smaller functions this
commit reduces the scope of some of the variables to only be in scope for
the algorithm specific parts. In some cases that makes the error handling
more verbose than it needs to be - but we'll clean that up in a later
commit.

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