Extend the BIO callback tests to check the return value semantics
authorMatt Caswell <matt@openssl.org>
Wed, 3 Oct 2018 14:29:47 +0000 (15:29 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 4 Oct 2018 13:20:27 +0000 (14:20 +0100)
commitc11c28052f333ca2fdd921c7f356eebf98b8421a
treedea77d20ac932809b888d0c47f8a5998009d48b4
parent90893527fc72189b17f1319aa735ecd5762aa7ca
Extend the BIO callback tests to check the return value semantics

Check that different return values passed to the BIO callback are
correctly handled.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7344)

(cherry picked from commit 52d78cc5ebc1d4fc021cabbcb09f4efb4c6ae82d)
test/bio_callback_test.c