OpenSslEngine remove unecessary rejectRemoteInitiatedRenegation call
Motivation: OpenSslEngine calls rejectRemoteInitiatedRenegation in a scenario where the number of handshakes has not been observed to change. The number of handshakes has only been observed to change after readPlaintextData is called. Modifications: - Remove the call to rejectRemoteInitiatedRenegation before calls to readPlaintextData Result: Less code.
This commit is contained in:
parent
6fb5b14ef5
commit
f7cf00cb5f
@ -686,8 +686,6 @@ public final class OpenSslEngine extends SSLEngine {
|
||||
} while (srcsOffset < srcsEndOffset);
|
||||
}
|
||||
|
||||
rejectRemoteInitiatedRenegation();
|
||||
|
||||
// Number of produced bytes
|
||||
int bytesProduced = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user