Split client message reading and writing functions
authorMatt Caswell <matt@openssl.org>
Wed, 29 Jul 2015 13:08:49 +0000 (14:08 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:32:44 +0000 (08:32 +0000)
commitb9908bf9b8d6d609736b537f4ecda720ff5dc078
treef5ac9e8ecccfbc2d360dd1930c2077a7aafe3945
parentf8e0a5573820bd7318782d4954c6643ff7e58102
Split client message reading and writing functions

The new state machine code will split up the reading and writing of
hanshake messages into discrete phases. In order to facilitate that the
existing "get" type functions will be split into two halves: one to get
the message and one to process it. The "send" type functions will also have
all work relating to constructing the message split out into a separate
function just for that. For some functions there will also be separate
pre and post "work" phases to prepare or update state.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
include/openssl/ssl.h
ssl/s3_both.c
ssl/s3_clnt.c
ssl/ssl_err.c
ssl/ssl_locl.h