Add a test for app data received too early
Add a test for app data which was received prior to the Finished is read
correctly, and that if we continue to read we get the expected result.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/27543)
(cherry picked from commit
af712a59332ff9052d4618a70dc662cb637556bf)
(cherry picked from commit
dc95aff5395a072f55840e88fdaa35e6f2acd663)