Extend the SSL_set_bio() tests
authorMatt Caswell <matt@openssl.org>
Mon, 16 Apr 2018 13:08:38 +0000 (14:08 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 17 Apr 2018 16:02:33 +0000 (17:02 +0100)
commit7d4488bbd7ac34fffb776cccbfff6b4ac0387e03
tree614d81cfb3264d03ce13729e6b22659d0953d662
parentbd7775e14a19c326d3720f2345c2ae324409e979
Extend the SSL_set_bio() tests

The SSL_set_bio() tests only did standalone testing without being in the
context of an actual connection. We extend this to do additional tests
following a successful or failed connection attempt. This would have
caught the issue fixed in the previous commit.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5966)
test/sslapitest.c