Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Sized constraint from tsig module types. #241

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

torin-carey
Copy link
Contributor

Currently the requirement of sized types means that Message<[u8]> cannot be used in TSIG operations using the tsig module.

These constraints can be relaxed.

Currently the requirement of sized types means that Message<[u8]> cannot
be used in tsig operations.
@partim
Copy link
Member

partim commented Nov 13, 2023

Thank you for the PR!

You are, of course, correct that this module should also work on Message<[u8]> – this was missed when changing the octets traits recently.

Please let us know if you need a release soon or if we can can wait a wee bit to collect a few more items.

@partim partim merged commit 5987386 into NLnetLabs:main Nov 13, 2023
12 checks passed
@torin-carey
Copy link
Contributor Author

Thank you for such a fast review and pull!

I'm not in any rush to see a release, I'm happy to let some other changes pool

partim added a commit that referenced this pull request Nov 16, 2023
New

* Removed the `Sized` bound for octets types used by the `tsig` module.
  ([#241] by [@torin-carey])
* Added an impl for `AsRef<Message<[u8]>>` for any message. ([#242] by
  [@torin-carey])

Bug fixes

* Fixed in scanning absolute domain names from a zonefile that resulted
  in illegal wire data being produced. ([#240] by [@xofyarg)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants