Don't set the handshake header in every message
authorMatt Caswell <matt@openssl.org>
Thu, 29 Sep 2016 23:27:40 +0000 (00:27 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Oct 2016 15:25:48 +0000 (16:25 +0100)
commit5923ad4bbe5d13c2fcc11f7849594db838ea57bd
tree919b3c884f31eb792cce952d1e017dc47744ca14
parent7cea05dcc7f6f74a18d48102008d53ea9a42c297
Don't set the handshake header in every message

Move setting the handshake header up a level into the state machine code
in order to reduce boilerplate.

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