Move setting of the handshake header up one more level
authorMatt Caswell <matt@openssl.org>
Fri, 30 Sep 2016 10:17:57 +0000 (11:17 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Oct 2016 15:25:48 +0000 (16:25 +0100)
commit6392fb8e2aa810d6c0e13e00a1c848ceacee33e1
treecb8cdaec7ae9b4a3bbe09695189a12120026f82c
parent229185e668514e17bce9b22c38303e3cc3c9eb7a
Move setting of the handshake header up one more level

We now set the handshake header, and close the packet directly in the
write_state_machine. This is now possible because it is common for all
messages.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem.c
ssl/statem/statem_clnt.c
ssl/statem/statem_locl.h
ssl/statem/statem_srvr.c