Mark a zero length record as read
authorMatt Caswell <matt@openssl.org>
Mon, 6 Nov 2017 16:52:06 +0000 (16:52 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 7 Nov 2017 11:14:00 +0000 (11:14 +0000)
commit2df7971728ddd388a77de56acc01e4bab37796bb
tree107546819cd1fc9409117c4bb8fbe7f7bf472ea2
parent77543471c709089d3845f6bdcf13fa4557ec57dc
Mark a zero length record as read

If SSL_read() is called with a zero length buffer, and we read a zero length
record then we should mark that record as read.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4686)
ssl/record/rec_layer_s3.c