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

Use from_bytes_with_nul for string check #583

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

kornelski
Copy link
Contributor

CStr is doing exactly what the assert is meant to do, and gives the right char type by default.

@tarcieri tarcieri merged commit deec974 into RustCrypto:master Aug 20, 2021
@tarcieri
Copy link
Member

Thanks!

@tarcieri
Copy link
Member

Note that we had to revert this in #597.

See #596 for some discussion around the issue.

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

2 participants