mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8283577: SSLEngine.unwrap on read-only input ByteBuffer
Reviewed-by: wetmore
This commit is contained in:
parent
61ddbef368
commit
f17c68ce4a
3 changed files with 373 additions and 102 deletions
|
@ -755,8 +755,8 @@ public abstract class SSLEngine {
|
|||
* The underlying memory used by the {@code src} and
|
||||
* {@code dsts ByteBuffer}s must not be the same.
|
||||
* <P>
|
||||
* The inbound network buffer may be modified as a result of this
|
||||
* call: therefore if the network data packet is required for some
|
||||
* The inbound network buffer, {@code src}, may be modified as a result of
|
||||
* this call: therefore if the network data packet is required for some
|
||||
* secondary purpose, the data should be duplicated before calling this
|
||||
* method. Note: the network data will not be useful to a second
|
||||
* SSLEngine, as each SSLEngine contains unique random state which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue