Skip to content

Commit f56e335

Browse files
committed
remove unnecessary call to checkAndInitSSLSocket()
1 parent c9faa52 commit f56e335

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,8 +2055,6 @@ public synchronized void close() throws IOException {
20552055

20562056
try {
20572057
if (beforeObjectInit == false) {
2058-
/* Ensure SSL state exists before TLS-specific close path. */
2059-
checkAndInitSSLSocket();
20602058

20612059
/* Check if underlying Socket is still open before closing,
20622060
* in case application calls SSLSocket.close() multiple times */

0 commit comments

Comments
 (0)