Skip to content

Commit

Permalink
close usnistgov#77
Browse files Browse the repository at this point in the history
(cherry picked from commit 1d61634afe6620e1a8367c063ae40c6772091d84)
  • Loading branch information
kostyantynnosach-mobius authored and Matthieu Casanova committed Jan 8, 2023
1 parent 659c3e0 commit bf4315b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gov/nist/javax/sip/stack/SSLStateMachine.java
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,6 @@ private void unwrap(ByteBuffer src, ByteBuffer dst) throws Exception {
+ " Packet buffer size: " + sslEngine.getSession().getPacketBufferSize()
+ " new buffer size: " + sslEngine.getSession().getPacketBufferSize() + dst.position());
}
//ByteBuffer newBuf = channel.prepareAppDataBuffer(sslEngine.getSession().getPacketBufferSize() + dst.position());
//dst.flip();
//newBuf.put(dst);
ByteBuffer newBuf = channel.prepareAppDataBuffer(sslEngine.getSession().getPacketBufferSize());
dst = newBuf;
if(logger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
Expand Down

0 comments on commit bf4315b

Please sign in to comment.