Skip to content

Commit

Permalink
Change scope of DTLSFlight.wrapMessage to private.
Browse files Browse the repository at this point in the history
Issue: #2259

Signed-off-by: Achim Kraus <[email protected]>
  • Loading branch information
boaks committed Oct 15, 2024
1 parent 16c3e50 commit 463e176
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions MIGRATION_HINTS_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ The functions of the obsolete and removed `DtlsHealthExtended` and `DtlsHealthEx
The functions of the obsolete and removed `DatagramFilterExtended` are moved into
`DatagramFilter`.

Change scope of `DTLSFlight.wrapMessage` to `private`.

### Californium-Core:

The functions of the obsolete and removed `ExtendedCoapStack` are moved into
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ public boolean contains(DTLSMessage message) {
* @param epochMessage dtls message and epoch
* @throws HandshakeException if the message could not be encrypted using
* the session's current security parameters
* @since 2.4
* @since 4.0 (changed scope to private)
*/
protected final void wrapMessage(EpochMessage epochMessage) throws HandshakeException {
private final void wrapMessage(EpochMessage epochMessage) throws HandshakeException {

try {
DTLSMessage message = epochMessage.message;
Expand Down

0 comments on commit 463e176

Please sign in to comment.