Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruby Martin committed Jul 18, 2024
1 parent 0e1d403 commit 06ac390
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/java/com/wolfssl/provider/jsse/WolfSSLEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,7 @@ else if (hs == SSLEngineResult.HandshakeStatus.NEED_WRAP &&
(err != WolfSSL.SSL_ERROR_WANT_READ) &&
(err != WolfSSL.SSL_ERROR_WANT_WRITE)) {
if (err == WolfSSL.UNKNOWN_ALPN_PROTOCOL_NAME_E) {
/* Native wolfSSL could not negotiate an ALPN protocheckout col,
* close inbound */
// Native wolfSSL could not negotiate a common ALPN protocol
this.inBoundOpen = false;
throw new SSLHandshakeException(
"Unrecognized protocol name error, ret:err = " +
Expand Down

0 comments on commit 06ac390

Please sign in to comment.