Skip to content

Use from_bytes_with_nul for string check#583

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
kornelski:master
Aug 20, 2021
Merged

Use from_bytes_with_nul for string check#583
tarcieri merged 1 commit intoRustCrypto:masterfrom
kornelski:master

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.

2 participants