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 pbkdf2_hmac to fix compilation warnings #477

Merged
merged 2 commits into from
Apr 11, 2023
Merged

Use pbkdf2_hmac to fix compilation warnings #477

merged 2 commits into from
Apr 11, 2023

Conversation

vinc
Copy link
Owner

@vinc vinc commented Apr 11, 2023

The latest version of pbkdf2 returns a Result for pbkdf2::<Hmac<Sha256>> that must be used. But it also introduced pbkdf2_hmac::<Sha256> that we can use to simplify the code and remove the direct dependency on the hmac crate.

@vinc vinc changed the title Use pbkdf2_hmac to remove compilation warnings Use pbkdf2_hmac to fix compilation warnings Apr 11, 2023
@vinc vinc merged commit 4fba636 into trunk Apr 11, 2023
@vinc vinc deleted the fix/hmac-warnings branch April 11, 2023 22:08
@vinc vinc mentioned this pull request Jun 20, 2023
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.

1 participant