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:07:17 +0000 (11:07 +0000)
commit1c47d35a0380783b62004a7cb8058d34e082f8d5
tree0d25c0717df9710e4c4663f6e5546d37eeef40c9
parent018632ae986af33b2dddb2c1496bf91446d35abe
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/4685)
ssl/record/rec_layer_s3.c