Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/java/com/wolfssl/provider/jsse/WolfSSLEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ else if ((produced > 0) && !inBoundOpen &&
* since we won't be sending anything after the alert went
* out. */
this.outBoundOpen = false;
this.closed = true;
}
else if (produced == 0) {
/* continue handshake or application data */
Expand Down Expand Up @@ -1671,6 +1672,7 @@ else if (ret < 0 &&
* close outbound since we won't be receiving
* any more data */
this.outBoundOpen = false;
this.closed = true;
}
/* Throw SSLHandshakeException if handshake not
* finished, otherwise throw SSLException for
Expand Down
3 changes: 0 additions & 3 deletions src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java
Original file line number Diff line number Diff line change
Expand Up @@ -2055,9 +2055,6 @@ public synchronized void close() throws IOException {

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

/* Check if underlying Socket is still open before closing,
* in case application calls SSLSocket.close() multiple times */
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
Expand Down
Loading