Skip to content

Commit e9daf8a

Browse files
committed
remove unnecessary call to checkAndInitSSLSocket()
1 parent 05a95fd commit e9daf8a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,9 +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();
2060-
20612058
/* Check if underlying Socket is still open before closing,
20622059
* in case application calls SSLSocket.close() multiple times */
20632060
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,

0 commit comments

Comments
 (0)