Update assertion in SSLEngineTest

Before this was receiving an SSLEngineStatus of BUFFER_OVERFLOW but the
test was not checking it. Make sure the assertion for when 0 bytes are
produced is checking NEED_WRAP.

However, now Conscrypt eagerly wraps instead of needing two calls to
.wrap(...) to actually start sending data. Amend the test to account for
this possibility as well by asserting that NEED_UNWRAP is the status if
more than 0 bytes were produced.

Test: cts-tradefed run cts -m CtsLibcoreTestCases -a arm64-v8a
Change-Id: I7ff88005cffff479deb6c933d58ab2813ea69ea8
1 file changed