Add some session API tests
authorMatt Caswell <matt@openssl.org>
Thu, 9 Jun 2016 12:33:27 +0000 (13:33 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 13 Jun 2016 16:35:18 +0000 (17:35 +0100)
commit2cb4b5f63ac8d78506652725d0afe299f99d1437
treea2d0ea2e9d4bbd178683221f2a7e2f3d34b07ab5
parente70656cf1c9e886344913444fe2f3a0b7d3721a9
Add some session API tests

This commit adds some session API tests, and in particular tests the
modified behaviour of SSL_set_session() introduced in the last commit. To
do this I have factored out some common code from the asynciotest into a
new ssltestlib.c file. I've also renamed getsettest to sslapitest as this
more closely matches what it now is!

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/asynciotest.c
test/build.info
test/getsettest.c [deleted file]
test/recipes/90-test_sslapi.t [moved from test/recipes/90-test_getset.t with 73% similarity]
test/sslapitest.c [new file with mode: 0644]
test/ssltestlib.c [new file with mode: 0644]
test/ssltestlib.h [new file with mode: 0644]