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

const-oid: make length the first field of ObjectIdentifier #178

Merged
merged 1 commit into from Nov 3, 2021

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Nov 3, 2021

This primarily impacts how the derived PartialOrd/Ord impls behave.

It ensures that the longer OID is always greater.

This primarily impacts how the derived `PartialOrd`/`Ord` impls behave.

It ensures that the longer OID is always greater.
@tarcieri tarcieri merged commit a485456 into master Nov 3, 2021
@tarcieri tarcieri deleted the const-oid/make-length-first-field-in-oid branch November 3, 2021 17:39
tarcieri added a commit that referenced this pull request Nov 4, 2021
These were failing to parse correctly until inadvertently fixed by #178.

The problem is not fully addressed, but it's good to at least capture it
in a regression test to prevent future breakages.

Note that this test also seems to be uncovering another bug in
`const-oid` which will get separately addressed in a followup.
tarcieri added a commit that referenced this pull request Nov 4, 2021
These were failing to parse correctly until inadvertently fixed by #178.

The problem is not fully addressed, but it's good to at least capture it
in a regression test to prevent future breakages.

Note that this test also seems to be uncovering another bug in
`const-oid` which will get separately addressed in a followup.
@tarcieri tarcieri mentioned this pull request Nov 14, 2021
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.

None yet

1 participant