JSSE: close client/server SSLSocket in WolfSSLSocketTest.protocolConnectionTestExtendedSocket() correctly after handshake

pull/191/head
Chris Conlon 2024-04-25 11:27:43 -06:00
parent 7e1c0397fb
commit 648bebadc8
1 changed files with 2 additions and 2 deletions

View File

@ -2023,6 +2023,7 @@ public class WolfSSLSocketTest {
public Void call() throws Exception {
try {
server.startHandshake();
server.close();
} catch (SSLException e) {
System.out.println("\t... failed");
@ -2034,6 +2035,7 @@ public class WolfSSLSocketTest {
try {
cs.startHandshake();
cs.close();
} catch (SSLHandshakeException e) {
System.out.println("\t... failed");
@ -2042,8 +2044,6 @@ public class WolfSSLSocketTest {
es.shutdown();
serverFuture.get();
cs.close();
server.close();
ss.close();
System.out.println("\t... passed");