Fix BIO_eof() for BIO pairs
authorMatt Caswell <matt@openssl.org>
Mon, 9 May 2016 14:04:11 +0000 (15:04 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 9 May 2016 16:05:16 +0000 (17:05 +0100)
commit3105d695358d86c0f2a404b2b74a1870b941ce5e
tree73bbb09087b492e2a165e686b25a6044e2a1396c
parent2e66d3d674d3a54593e0cbb4ff1f6039fd965d66
Fix BIO_eof() for BIO pairs

BIO_eof() was always returning true when using a BIO pair. It should only
be true if the peer BIO is empty and has been shutdown.

RT#1215

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bio/bss_bio.c
doc/crypto/BIO_s_bio.pod