]> granicus.if.org Git - openssl/commit
Split ssl3_get_message
authorMatt Caswell <matt@openssl.org>
Wed, 29 Jul 2015 13:20:05 +0000 (14:20 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:27:59 +0000 (08:27 +0000)
commit9ab930b27d51a13362e6647074f13589a8ac004d
treecdaa2088022d768112b2bf5028926b383ec0d5b1
parent94b3664a528258df5ebcaae213d19bf6568cc47d
Split ssl3_get_message

The function ssl3_get_message gets a whole message from the underlying bio
and returns it to the state machine code. The new state machine code will
split this into two discrete steps: get the message header and get the
message body. This commit splits the existing function into these two
sub steps to facilitate the state machine implementation.

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