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

Make NativeInteger_rfill.c act more like BIT_STRING_rfill.c #168

Closed
wants to merge 1 commit into from

Conversation

lbm98
Copy link

@lbm98 lbm98 commented Jan 12, 2024

NativeInteger_rfill.c was sometimes ignoring the PER constrains,
i added a check which was also present in BIT_STRING_rfill.c and it fixed my problem.

I don't know if this was intended, it's my first PR.
Thank you!

@lbm98
Copy link
Author

lbm98 commented Jan 13, 2024

hmm, the check should probably be inside

#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
->per_constraints

does not make sense otherwise

@mouse07410
Copy link
Owner

hmm, the check should probably be inside

That is correct. Let me edit the file in question properly. By the way, welcome - and thanks for the patch!

@mouse07410
Copy link
Owner

Your patch has been committed, with some changes. Thanks!

@mouse07410 mouse07410 closed this Jan 14, 2024
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