Skip to content

Commit

Permalink
Merge pull request #203 from sstefonic/engineDebugFix
Browse files Browse the repository at this point in the history
Fix mistake in SSLEngine debug logs
  • Loading branch information
cconlon authored Jun 13, 2024
2 parents 151853d + a8af4d2 commit 318af35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/com/wolfssl/provider/jsse/WolfSSLEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ public synchronized SSLEngineResult wrap(ByteBuffer[] in, int ofst, int len,
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ByteBuffer in["+i+"].position(): " + in[i].position());
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ByteBuffer in["+i+"].limit(): " + in[i].position());
"ByteBuffer in["+i+"].limit(): " + in[i].limit());
}
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ofst: " + ofst + ", len: " + len);
Expand Down Expand Up @@ -675,7 +675,7 @@ else if (produced == 0) {
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ByteBuffer in["+i+"].position(): " + in[i].position());
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ByteBuffer in["+i+"].limit(): " + in[i].position());
"ByteBuffer in["+i+"].limit(): " + in[i].limit());
}
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
"ofst: " + ofst + ", len: " + len);
Expand Down

0 comments on commit 318af35

Please sign in to comment.